ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VLookup Formula (https://www.excelbanter.com/excel-discussion-misc-queries/240407-vlookup-formula.html)

AccessUser777 via OfficeKB.com

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


Don Guillett

VLookup Formula
 
First, you may want to check your spelling and then perhaps remove the " "
around the 1

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"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



Sean Timmons

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



L. Howard Kittle

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




AccessUser777 via OfficeKB.com

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


Don Guillett

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



Don Guillett

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





All times are GMT +1. The time now is 04:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com