If the Vlookup

JessicaR

New Member
Joined
Aug 26, 2011
Messages
4
Hello

I am trying to combine an IF formula with a V-lookup. The formula is dependant on the data selected in two separate data validation list.

1st Data validation list is to select which rate card is to be used (B6)
2nd Data validation list is a selection of roles , i.e. Project Management (C12)

I am trying to achieve the following

If you select a rate card in the data validation list 1, then the Vlookup should look at the role showing in validation list 2 and enter the rate in that field as per the table array and column index number selected for this rate card

I have pasted my formula below and it returns the value "False" in the cell and I do not understand why it is not working. Have I missed something in the IF section?
I have approx 7 different rate cards to pop in this formula (not sure if VBA may be a better option)

=IF($B$6="standard",VLOOKUP(C12,'RATE CARD'!B7:Q17,4,FALSE),(IF($B$6="CustomerB",VLOOKUP(C12,'RATE CARD'!B7:Q17,16,FALSE))))

Any help would be greatly appreciated

S
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try

=IF($B$6="standard",VLOOKUP(C12,'RATE CARD'!B7:Q17,4,FALSE),IF($B$6="CustomerB",VLOOKUP(C12,'RATE CARD'!B7:Q17,16,FALSE)))
 
Upvote 0

Forum statistics

Threads
1,224,581
Messages
6,179,668
Members
452,936
Latest member
anamikabhargaw

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