IFERROR, VLOOKUP and another IF statement HELP!!

Dimsum06

New Member
Joined
Jul 29, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Is there a way to add another criteria to this current formula? I want to add if this range/column has a certain word, in my case OUTSTANDING, to return BLANK"".
Current Formula: IFERROR(VLOOKUP(B9,'REPORT!A:C,3,FALSE),"")

Thank you!!!
 
Does just doing the lookup once like this also work?

Excel Formula:
=SUBSTITUTE(IFNA(VLOOKUP(B9,REPORT!A:C,3,0),""),"OUTSTANDING","")

If not, try
Excel Formula:
=SUBSTITUTE(IFERROR(VLOOKUP(B9,REPORT!A:C,3,0),""),"OUTSTANDING","")
The first formula you provided actually works!! I typed in outstanding instead of Outstanding so it still would return the word. I honestly did not know that this was case sensitive! Thank you so much. I will try the 2nd formula too.
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
That is not happening with the sample above and I cannot see how it is possible since the formula contains SUBSTITUTE(...,"OUTSTANDING","") ...
... unless your "OUTSTANDING" is not all upper case like is written in each case above?

Excel Formula:
=LET(v,IFERROR(VLOOKUP(B9,REPORT!A:C,3,0),""),IF(v="OUTSTANDING","",v))
Thank you so much, never knew it's case sensitive 😅
 
Upvote 0
I will try the 2nd formula too.
The second formula is only relevant if there are actual error value in column C of the 'REPORT' sheet. If the error check is simply to cover the case where the value being looked up does not exist in column A of 'REPORT' then the first formula should be sufficient.

Also, just confirming that the formula in post 10 and @pjoaquin's formula are not case-sensitive. That issue only arose because of the use of SUBSTITUTE in my first two formulas.

Anyway, you can use whichever formula you want but thanks for following through to resolve the apparent issue with my formulas. (y) It is always good to know why certain things are happening. :)
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,521
Members
449,088
Latest member
RandomExceller01

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