View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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.