#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default =IF and VLOOKUP

Dumb question, but here goes.

I'm trying to combine two functions and really just guessing how to combine
the two -

=IF(C129="Low","(=VLOOKUP(C102, Sheet4!$E$2:F$38, 2, FALSE))","
(=VLOOKUP(C102,Sheet4!$A$2:B$38,2,FALSE))")

That was my feeble guess, and naturally it does not work .....

Cell C129 Can be "Low" or something Else (not blank).
If it's Low, I want to take the score in C102 and go get the results in the
first VLOOKUP statement.
If it's not Low, I want to take the score in C102 and go get the (different
results) in the second VLOOKUP statement.
IfC129 is blank, then I don't want any result.

I've searched for a while and can't find what I'm looking for ......
Thanks guys!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default =IF and VLOOKUP

ok what about this,

=IF(C129="Low",VLOOKUP(C102, Sheet4!$E$2:$F$38,
2,FALSE),VLOOKUP(C102,Sheet4!$A$2:$B$38,2,FALSE))

Let me know if that works


"Theo" wrote:

Dumb question, but here goes.

I'm trying to combine two functions and really just guessing how to combine
the two -

=IF(C129="Low","(=VLOOKUP(C102, Sheet4!$E$2:F$38, 2, FALSE))","
(=VLOOKUP(C102,Sheet4!$A$2:B$38,2,FALSE))")

That was my feeble guess, and naturally it does not work .....

Cell C129 Can be "Low" or something Else (not blank).
If it's Low, I want to take the score in C102 and go get the results in the
first VLOOKUP statement.
If it's not Low, I want to take the score in C102 and go get the (different
results) in the second VLOOKUP statement.
IfC129 is blank, then I don't want any result.

I've searched for a while and can't find what I'm looking for ......
Thanks guys!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default =IF and VLOOKUP

Yahoo - that worked. So I was pretty close :)

Thank you Chris
T

"chris" wrote:

ok what about this,

=IF(C129="Low",VLOOKUP(C102, Sheet4!$E$2:$F$38,
2,FALSE),VLOOKUP(C102,Sheet4!$A$2:$B$38,2,FALSE))

Let me know if that works


"Theo" wrote:

Dumb question, but here goes.

I'm trying to combine two functions and really just guessing how to combine
the two -

=IF(C129="Low","(=VLOOKUP(C102, Sheet4!$E$2:F$38, 2, FALSE))","
(=VLOOKUP(C102,Sheet4!$A$2:B$38,2,FALSE))")

That was my feeble guess, and naturally it does not work .....

Cell C129 Can be "Low" or something Else (not blank).
If it's Low, I want to take the score in C102 and go get the results in the
first VLOOKUP statement.
If it's not Low, I want to take the score in C102 and go get the (different
results) in the second VLOOKUP statement.
IfC129 is blank, then I don't want any result.

I've searched for a while and can't find what I'm looking for ......
Thanks guys!


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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 08:42 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"