IF M/F then Vlookup table X/Y

claz2201

New Member
Joined
Feb 4, 2017
Messages
13
Hi guys,

So i have a big table which has males and females on (indicated in column C) and their 100m run times (column H). In column 'I' I am wanting another score based on a vlookup table elsewhere. I am wanting a formula (that works) something along the line of...

IF C2 = M then Vlookup table 1, if F then vlookup table 2.


Hope this makes sense!

Claire
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Something like:

=VLOOKUP(H3,IF(C3="m",$M$1:$N$7,$P$1:$Q$7),2)

where M1:N7 and P1:Q7 are your 2 tables, or you could use named ranges:

=VLOOKUP(H3,IF(C3="m",MaleTable,FemaleTable),2)
 
Upvote 0

Forum statistics

Threads
1,215,091
Messages
6,123,062
Members
449,089
Latest member
ikke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top