IF & VLOOKUP

C

Carolina

Once again I refer to you for help!
I need a formula that will return certain valued based on the fact if they
are Small, Medium or Large. For example, if someone says the product is small
if should go to a table I have and look up the values for the column and
return them...if they say Large then it should take another set of numbers
I was thinking the following formula but Excel says I have too many
arguments for this formula....can you assist?

=(IF(B8="Small","",VLOOKUP(A14,'Property
List'!L3:M15,2,0),if(B8="Medium","",vlookup(A14,'Property
List'!L19:M31,2,0),if(B8="Large","",vlookup('Team Bonus'!A14,'Property
List'!L35:M47,2,0))))

Thanks a million!
 
P

Pete_UK

I think you are trying to do something like this:

=(IF(B8="Small",VLOOKUP(A14,'Property List'!
L3:M15,2,0),IF(B8="Medium",VLOOKUP(A14,'Property List'!
L19:M31,2,0),IF(B8="Large",VLOOKUP(A14,'Property List'!
L35:M47,2,0),"")))

Hope this helps.

Pete
 
B

Bernie Deitrick

Try

=IF(B8="Small",VLOOKUP(A14,'Property List'!L3:M15,2,0),IF(B8="Medium",VLOOKUP(A14,'Property
List'!L19:M31,2,0),IF(B8="Large",VLOOKUP('Team Bonus'!A14,'Property List'!L35:M47,2,0),"Enter a size
in B8")))

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top