WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

using CELL function

 
   Home -> Office -> General Discussions RSS
Next:  columns show right to left  
Author Message
ManhattanRebel

External


Since: Nov 22, 2007
Posts: 36



(Msg. 1) Posted: Sun Aug 17, 2008 10:46 pm
Post subject: using CELL function
Archived from groups: microsoft>public>excel>misc (more info?)

Does anyone know why this always returns a "0" for the answer?:

=IF(CELL("contents", B10) = "@", +B10,0)

Some of the cells in column B have email addresses in them, some don't. I
am trying to capture the email addresses or return a value of "0", but only
"0" is returned no matter what.

Thanks.
Back to top
Login to vote
Héctor Miguel

External


Since: Apr 03, 2005
Posts: 254



(Msg. 2) Posted: Mon Aug 18, 2008 1:00 am
Post subject: Re: using CELL function [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi, !

> Does anyone know why this always returns a "0" for the answer?:
> =IF(CELL("contents", B10) = "@", +B10,0)
> Some of the cells in column B have email addresses in them, some don't.
> I am trying to capture the email addresses or return a value of "0"
> but only "0" is returned no matter what...

AFAIK, the argument "contents" in CELL w-f is the same as referring to the "ref" itself
cell("contents",b10) = =b10

try with: =if(countif(b10,"*@*"),b10,0)

hth,
hector.
Back to top
Login to vote
"Rick Rothstein

External


Since: Feb 04, 2008
Posts: 1325



(Msg. 3) Posted: Mon Aug 18, 2008 2:52 am
Post subject: Re: using CELL function [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Give this formula a try instead...

=IF(ISNUMBER(FIND("@",B10)),B10,0)

Rick


"ManhattanRebel" <ManhattanRebel RemoveThis @discussions.microsoft.com> wrote in message
news:6D9A2733-D155-4DAA-B88D-B62CC11628DF@microsoft.com...
> Does anyone know why this always returns a "0" for the answer?:
>
> =IF(CELL("contents", B10) = "@", +B10,0)
>
> Some of the cells in column B have email addresses in them, some don't. I
> am trying to capture the email addresses or return a value of "0", but
> only
> "0" is returned no matter what.
>
> Thanks.
>
Back to top
Login to vote
Bill Kuunders

External


Since: Aug 31, 2003
Posts: 95



(Msg. 4) Posted: Mon Aug 18, 2008 3:02 am
Post subject: Re: using CELL function [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

try something like...............

=IF(LEFT(B10,1)="@",B10,0)

Greetings from New Zealand


"ManhattanRebel" <ManhattanRebel.RemoveThis@discussions.microsoft.com> wrote in message
news:6D9A2733-D155-4DAA-B88D-B62CC11628DF@microsoft.com...
> Does anyone know why this always returns a "0" for the answer?:
>
> =IF(CELL("contents", B10) = "@", +B10,0)
>
> Some of the cells in column B have email addresses in them, some don't. I
> am trying to capture the email addresses or return a value of "0", but
> only
> "0" is returned no matter what.
>
> Thanks.
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET