IF formula needs 1 more possible outcome

ExcelRoy

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

I am looking to add one more If to the following formula

=IFERROR(IF('Order Information'!AW16="","",IF('Order Information'!B16='Order Status'!AF16,"Received",IF(OR('Order Status'!AF16="",'Order Status'!AF16=0),"Ordered",IF('Order Status'!AF16<'Order Information'!B16,"Partially Received")))),"")

I need the response to be "Error, Please Check" if AF16>B16

I have been playing around but I seem to have too many arguments

Many thanks for any help
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try

=IFERROR(IF('Order Information'!AF16>'Order Information'!B16,"Error, Please Check",IF('Order Information'!AW16="","",IF('Order Information'!B16='Order Status'!AF16,"Received",IF(OR('Order Status'!AF16="",'Order Status'!AF16=0),"Ordered",IF('Order Status'!AF16<'Order Information'!B16,"Partially Received"))))),"")
 
Upvote 0
Hi Jonmo,

Many thanks for your help but this still shows FALSE
 
Upvote 0
If it's returning FALSE, it means NONE of the conditions are TRUE.

I'd recommend using the Formula Evaluation tool to observe the formula 1 step at a time.
 
Upvote 0
Have you tried wrapping your original formula within a simple IF , plus I'm assuming AF16 is on the Order Status sheet and B16 on the Order Information sheet, if not just amend the addresses in bold

Code:
=IF([B]'Order Status'!AF16>'Order Information'!B16[/B],"Error, Please Check",IFERROR(IF('Order Information'!AW16="","",IF('Order Information'!B16='Order Status'!AF16,"Received",IF(OR('Order Status'!AF16="",'Order Status'!AF16=0),"Ordered",IF('Order Status'!AF16<'Order Information'!B16,"Partially Received")))),""))
 
Last edited:
Upvote 0
Hi Jonmo,

I got it working, many thanks I had entered the AF part wrong

Thanks very much for helping
 
Upvote 0
You're welcome.

FYI, highlighted RED below is where you would put some action if all conditions are false

=IFERROR(IF('Order Information'!AF16>'Order Information'!B16,"Error, Please Check",IF('Order Information'!AW16="","",IF('Order Information'!B16='Order Status'!AF16,"Received",IF(OR('Order Status'!AF16="",'Order Status'!AF16=0),"Ordered",IF('Order Status'!AF16<'Order Information'!B16,"Partially Received","AllConditionsFalse"))))),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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