Multiple IF(error Vlookup troubleshooting

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
365
Office Version
  1. 365
Platform
  1. Windows
Hello All - the below formula does not work when F3 is T2042, G0299 or G0300. It does however work for the remaining codes that reside in column F. Is it the parenthesis placement? Or is it the placement of the =False statement?


=IF(IF(F3="T2042",L3,IF(OR(F3="G0299",F3="G0300"),IFERROR(VLOOKUP($O3,'MCAID FS'!$G:$I,3,0),IFERROR(VLOOKUP($P3,'MCAID FS'!$H:$I,2,0),IFERROR(VLOOKUP($Q3,'MCAID FS'!$G:$I,3,0),VLOOKUP($R3,'MCAID FS'!$H:$I,2,0))))))=FALSE,IFERROR(VLOOKUP($O3,'MCAID FS'!$G:$I,3,0),IFERROR(VLOOKUP($P3,'MCAID FS'!$H:$I,2,0),IFERROR(VLOOKUP($Q3,'MCAID FS'!$G:$I,3,0),VLOOKUP($R3,'MCAID FS'!$H:$I,2,0)))))*J3
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Do you mean F3 = value G0299 or F3 = G0299
 
Upvote 0
yes, column F holds codes. If F3 or G3 = G0299 or G0300 then perform lookup without the multiplier *J3
 
Upvote 0
so you are checking for a text value, remove the speech marks
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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