Thread: VLookup Formula
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default VLookup Formula

Modify this to suit. Look at the help index for CHOOSE
=CHOOSE(VLOOKUP(D4,A1:B12,1,0),"a","b","c","d")

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"AccessUser777 via OfficeKB.com" <u44103@uwe wrote in message
news:9af1ade569098@uwe...
Thanks Don for your reply. I have removed the "" around the 1. I got it
to
work with this formula:
=IF(VLOOKUP(D4,MYSAT,10,FALSE)=1,"DM",VLOOKUP(D4,M YSAT,10,"FASLE"))

but, now here is the tricky part: is it possible to use multiple "if"
statements...for example:

=IF(VLOOKUP(D4,MYSAT,15,FALSE)=1,"DM",IF(VLOOKUP(D 4,MYSAT,15,fasle)=2,"I",IF
(VLOOKUP(D4,MYSAT,15,fasle)=3,"M",IF(VLOOKUP(D4,MY SAT,15,FALE)=4,"E",IF
(VLOOKUP(D15,MYSAT,15,FALSE)=5,"O",VLOOKUP(D4,MYSA T,15,"FALSE"))))))

I get a #NAME? result.

What I want to do is show a different letter depending on the VLOOKUP
value.
Any help or suggestions are appreciated. Thanks.

Don Guillett wrote:
First, you may want to check your spelling and then perhaps remove the " "
around the 1

Hi all,
Need some help on a formula. I have a spreadsheet that has the
following

[quoted text clipped - 5 lines]

Is what I'm asking possible? Any help is appreciated. Thanks.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200908/1