Modification of Existing VLOOKUP function

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
The formula below works perfectly but I want to add another condition

=IFERROR(VLOOKUP(A6,'Site Assignments'!A5:G135,6,FALSE),"ASK FOR MORE INFO")

If the cell in column "6" is blank, the formula currently returns "0". I would like it to return blank

Note
The IFERROR portion takes care of the #N/A condition
 

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.
If the formula is expected normally to return text...

=IFERROR(T(VLOOKUP(A6,'Site Assignments'!A5:G135,6,FALSE)),"ASK FOR MORE INFO")


Otherwise:

=IFERROR(IF(VLOOKUP(A6,'Site Assignments'!A5:G135,6,FALSE)="","",VLOOKUP(A6,'Site Assignments'!A5:G135,6,FALSE)),"ASK FOR MORE INFO")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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