VLOOKUP with multiple nested IF statements

sclasen0024

New Member
Joined
Oct 7, 2015
Messages
6
I am having difficulties with creating a formula. AS will look at AP if AP=PRIME it will use table 1 B4:B8&C4:C8 it will then look at AJ4 to determine where that number falls within the table to determine the value to return in range f4:f8. If the value in AP=OFF it will use table 2 d4:d8&e4:e8. I am so lost!!

{mod note: img tag removed - bad html}
 
Last edited by a moderator:

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I am so lost!!
I am also lost because you have expressed your request in a very confusing manner.

Please can you explain more clearly what you want to do ?

It sounds as if MAYBE you want to do this -
If AP1="PRIME", lookup the value in AJ4 within the range B4:C8.
If AP1="OFF", lookup the value in AJ4 within the range D4:E8.
I have no idea what role is played by the range F4:F8.

Comment - for this to work, the value in AJ4 must actually exist in the range B4:B8 and D4:D8.
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,820
Members
449,469
Latest member
Kingwi11y

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