Multiple IF Formulas

didier

New Member
Joined
Aug 11, 2016
Messages
10
Hello guys,

need your help

i have the below table

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Qty[/TD]
[TD]Received[/TD]
[TD]Missing[/TD]
[TD]Completed[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]50[/TD]
[TD]10[/TD]
[TD]=A3-B3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


i need to create a formula in D3 that will do the following:

IF C3 is empty D3 is empty
IF C3 is lower then A2 = Pending
IF C3 is equil to B3 = Completed

Thank you for the help
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try:
Code:
=IF(C3="","",IF(C3 < A3,"Pending",IF(C3=B3,"Completed","???")))
<a3,"pending",if(c3=b3,"completed","???")))[ code]<="" html=""></a3,"pending",if(c3=b3,"completed","???")))[>
 
Last edited:
Upvote 0
Hey Joe4,

thank you for the try however there are 2 issues,

once C3 = 0, it must say complete, now it says pending(C3 has a formula in it A3-B3)
if there is no data in A3 and B3, now it says completed, it should be blank
 
Last edited:
Upvote 0
once C3 = 0, it must say complete, now it says pending(C3 has a formula in it A3-B3)
So are you now saying that if C3=0, it should always say complete, even if C3 is less than A3 in this instance?

if there is no data in A3 and B3, now it says completed, it should be blank
You seem to be adding more and more conditions that you did not mention in your original post.
Rather than giving them piece-meal to us, can you give them all to us at once?
Are there any other situations you haven't addressed yet?

If there are no other conditions, then this should satisfy all that you have said thus far:
Code:
=IF(OR(C3="",AND(A3="",B3="")),"",IF(OR(C3=B3,C3=0),"Completed",IF(C3 < A3,"Pending","???")))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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