IF return of 0 then show "Ordered"

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
hi,

I have the formula below which works perfectly until it returns 0 if nothing is found

Can I have the formula changed to show "Ordered" if 0 is found

=IF(ET3&EV3="","",IFERROR(LOOKUP(9.99999999999999E+307,1/(('Chase Details'!$F$10:$F$1009=ET3)*('Chase Details'!$G$10:$G$1009=EV3)),'Chase Details'!$U$10:$U$1009),"Backorder"))

Many thanks for any help
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
[TABLE="width: 1619"]
<tbody>[TR]
[TD]It's a little difficult to comment without knowing the nature of your workbook, data and what the LOOKUP function is doing, but ....

By "... if nothing is found" I presume you mean that the LOOKUP is finding the Lookup_value but there is no attached value to return, rather than it not finding the Lookup_value as that should return a #NA error which your IFERROR is handling.

If so, will the following solve your problem?

IF( ET3 & EV3 = "",
"",
IF( IFERROR( LOOKUP( 9.99999999999999E+307, 1 / ( ( 'Chase Details'!$F$10:$F$1009 = ET3 ) * ( 'Chase Details'!$G$10:$G$1009 = EV3 ) ), 'Chase Details'!$U$10:$U$1009), "Backorder") ) = 0, "Ordered",
IFERROR( LOOKUP( 9.99999999999999E+307, 1 / ( ( 'Chase Details'!$F$10:$F$1009 = ET3 ) * ( 'Chase Details'!$G$10:$G$1009 = EV3 ) ), 'Chase Details'!$U$10:$U$1009), "Backorder") ) )[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
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