Multiple IF(error Vlookup troubleshooting

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
361
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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
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,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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