#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default VLookup Formula

Hi all,
Need some help on a formula. I have a spreadsheet that has the following
formula:
=IF(VLOOKUP(D4,MYSAT,10,fasle)="1","D")

What I want the formula to do is if the Vlookup result = 1, then I what to
show a "D".

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

--
Message posted via http://www.officekb.com

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default VLookup Formula

the formula below looks fine except you don't want quotas are the 1 and
misspelled false... not sure if that typo was only in here or also in the
worksheet. quicker and easier if you just type the number 0 instead either
way.

"AccessUser777 via OfficeKB.com" wrote:

Hi all,
Need some help on a formula. I have a spreadsheet that has the following
formula:
=IF(VLOOKUP(D4,MYSAT,10,fasle)="1","D")

What I want the formula to do is if the Vlookup result = 1, then I what to
show a "D".

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

--
Message posted via http://www.officekb.com


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default VLookup Formula

Try this, false was spelled wrong and take the 1 out of " "s.

=IF(VLOOKUP(D4,MYSAT,10,false)=1,"D")

HTH
Regards,
Howard

"AccessUser777 via OfficeKB.com" <u44103@uwe wrote in message
news:9af1716331463@uwe...
Hi all,
Need some help on a formula. I have a spreadsheet that has the following
formula:
=IF(VLOOKUP(D4,MYSAT,10,fasle)="1","D")

What I want the formula to do is if the Vlookup result = 1, then I what to
show a "D".

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

--
Message posted via http://www.officekb.com



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default VLookup Formula

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



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookup Formula

Did you see how many times you spelled FALSE wrong. Use 0 instead

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do this VLOOKUP OR FORMULA. Learning Excel Excel Discussion (Misc queries) 4 May 25th 08 03:55 AM
Alternative formula to the vlookup formula? Victor Excel Worksheet Functions 2 May 12th 08 04:38 PM
vlookup formula AJB Excel Discussion (Misc queries) 2 May 1st 08 04:21 AM
convert vlookup formula to link formula AFA Excel Worksheet Functions 0 February 20th 08 04:24 AM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM


All times are GMT +1. The time now is 07:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"