![]() |
Logical Functions
I am confused as to why I'm getting a "FALSE" from 3 IF Statements. Here is
my function: =IF(Combo_4_000664!C11="All","1",IF(Combo_4_000664 !C11="quota","0",IF(Combo_4_000664!C11="222","1")) ) but I am getting a "FALSE" when I enter 222 in my linked spreadsheet. I believe it's because I am already using a "1" for my "All" case, so does anyone know how to rewrite this to clean it up. I really appreciate this help, everyone. |
Logical Functions
if the 222 you enter is a number, it will not match the "222" text in the
equation try getting rid of the Quote marks in the equation. "Eden397" wrote: I am confused as to why I'm getting a "FALSE" from 3 IF Statements. Here is my function: =IF(Combo_4_000664!C11="All","1",IF(Combo_4_000664 !C11="quota","0",IF(Combo_4_000664!C11="222","1")) ) but I am getting a "FALSE" when I enter 222 in my linked spreadsheet. I believe it's because I am already using a "1" for my "All" case, so does anyone know how to rewrite this to clean it up. I really appreciate this help, everyone. |
Logical Functions
Maybe this might be an easier alternative:
=VLOOKUP(Combo_4_000664!C11,{"All",1;"quota",0;"22 2",1},2,0) Above assumes that you want real numbers (ie: 0,1) and not text, as the actual returns -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Eden397" wrote: I am confused as to why I'm getting a "FALSE" from 3 IF Statements. Here is my function: =IF(Combo_4_000664!C11="All","1",IF(Combo_4_000664 !C11="quota","0",IF(Combo_4_000664!C11="222","1")) ) but I am getting a "FALSE" when I enter 222 in my linked spreadsheet. I believe it's because I am already using a "1" for my "All" case, so does anyone know how to rewrite this to clean it up. I really appreciate this help, everyone. |
Logical Functions
=IF(OR(Combo_4_000664!C11={"All","222"}),"1",IF(Co mbo_4_000664!C11="quota","0","else..."))
"Eden397" wrote: I am confused as to why I'm getting a "FALSE" from 3 IF Statements. Here is my function: =IF(Combo_4_000664!C11="All","1",IF(Combo_4_000664 !C11="quota","0",IF(Combo_4_000664!C11="222","1")) ) but I am getting a "FALSE" when I enter 222 in my linked spreadsheet. I believe it's because I am already using a "1" for my "All" case, so does anyone know how to rewrite this to clean it up. I really appreciate this help, everyone. |
All times are GMT +1. The time now is 11:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com