Vloohp & Index

The_Rock

Board Regular
Joined
Jul 2, 2007
Messages
174
Hi Folks
The following formula first looks in one table, if it doesn't find it in there, it looks in another table.
If its not in either it returns #N/A

=IFERROR(VLOOKUP(AZ2,'Failure Reason'!AC:AD,2,FALSE),INDEX('Failure Reason'!B:B,MATCH('SIP YTD'!AZ3,'Failure Reason'!D:D,0)))


Would appreciate your idea's on how to modify the formula so that #N/A appears as "-".

Thanks!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Like this?

=IFERROR(VLOOKUP(AZ2,'Failure Reason'!AC:AD,2,FALSE),IFERROR(INDEX('Failure Reason'!B:B,MATCH('SIP YTD'!AZ3,'Failure Reason'!D:D,0)),"-"))
 
Upvote 0

Forum statistics

Threads
1,217,366
Messages
6,136,128
Members
449,993
Latest member
Sphere2215

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