Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() try something like............... =IF(LEFT(B10,1)="@",B10,0) Greetings from New Zealand "ManhattanRebel" wrote in message ... 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. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Give this formula a try instead...
=IF(ISNUMBER(FIND("@",B10)),B10,0) Rick "ManhattanRebel" wrote in message ... 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ISBLANK function not working when cell is blank dut to function re | Excel Discussion (Misc queries) | |||
I want result of a function in the cell and not the function itsel | Excel Worksheet Functions | |||
Function to detemine whether function or value in cell | Excel Discussion (Misc queries) | |||
cell displays function not value of function | Excel Worksheet Functions | |||
Can function in one cell change value or function in another cell? | Excel Worksheet Functions |