Link to home
Start Free TrialLog in
Avatar of agwalsh
agwalsh

asked on

Vlookup with matching column NAME not number?

hi
Is there any way to reference a column name instead of a column number in a vlookup? in the attached file, I'd like to be able to reference the Premium column in the formula rather than column 2. Any suggestions?
Thanks!
Anne
vlookup-EE-example.xlsx
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Hello,

try this

=VLOOKUP(C11,$A$4:$B$7,MATCH("Premium",$A$4:$B$4,0),FALSE)

cheers, teylyn
Avatar of agwalsh
agwalsh

ASKER

Hi
I tried that and got N/A? Am attaching file..vlookup-EE-example-version-02.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of agwalsh

ASKER

Thanks for this.. elegant solution.