posracer30
New Member
- Joined
- Jun 13, 2008
- Messages
- 3
Is there a way to use an IF statement within a VLOOKUP that will return a different column depending on user's request?
Example:
User selects Fund name, and Checklist Type.
The VLOOKUP needs to select either 1,2,3,4 for the column index number depending on which type of Checklist is selected.
My current formula is this (but returns #REF!)
=VLOOKUP($B$3&"*",Summary!A14:A84,(IF($C$3="CSS",4,IF($C$3="FR",5,IF($C$3="T&R",6,7)))),FALSE)
Example:
User selects Fund name, and Checklist Type.
The VLOOKUP needs to select either 1,2,3,4 for the column index number depending on which type of Checklist is selected.
My current formula is this (but returns #REF!)
=VLOOKUP($B$3&"*",Summary!A14:A84,(IF($C$3="CSS",4,IF($C$3="FR",5,IF($C$3="T&R",6,7)))),FALSE)