Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How do you represent blanks in an Excel IF statement? I tried =if(K2="
",1,0) but the " " did not work. Thank you for your time and assistance in advance. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
You shouldn't include any spaces between the sets of double quotes =IF(K2="",1,0) Including a space is telling Excel to compare whether there is a space in the cell, not a null value. -- Regards Roger Govier "JG" wrote in message ... How do you represent blanks in an Excel IF statement? I tried =if(K2=" ",1,0) but the " " did not work. Thank you for your time and assistance in advance. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It looks like you have a space between the speech marks which means that it
will be looking for a space, try it as "" - just the speech marks. HTH Sheila "JG" wrote: How do you represent blanks in an Excel IF statement? I tried =if(K2=" ",1,0) but the " " did not work. Thank you for your time and assistance in advance. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Almost the
No space between the pair of double quotes. -- Gary's Student "JG" wrote: How do you represent blanks in an Excel IF statement? I tried =if(K2=" ",1,0) but the " " did not work. Thank you for your time and assistance in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If statement that contains 6+ arguments in excel | Excel Worksheet Functions | |||
Using Excel, how do I replace cells containing blanks with nulls? | Excel Discussion (Misc queries) | |||
how do I reset the default sort order in excel xp back to blanks . | Excel Discussion (Misc queries) | |||
Difference in number of Excel NewsGroups | Excel Discussion (Misc queries) | |||
Excel Report Using IF Statement? | Excel Discussion (Misc queries) |