View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default vlookup or if statement

a) Using IF: =IF(A190000,30%,IF(A110000,20%,0%))
but you are limited to 7 level of nesting with Excel version prior to XL2007
b) With LOOKUP: =LOOKUP(A1,{0,10001,90001},{0,0.2,0.3})

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"andy" wrote in message
...
hey i really need help with a formula because i don't know which one to
use.
i have this information

0-10000 = O% tax
10000-90000 = 20% tax
90001-100000= 30% tax

and i have a lot of values for it but i dont know how to make it like
simple
to work out as one formula like the IF statement can be used if it only
had
to variables but it has three and i dont know what formula to use.
please help its really important

thank you heaps.