Multiple if issue

rfletcher35

Active Member
Joined
Jul 20, 2011
Messages
300
Office Version
  1. 365
Platform
  1. Windows
I have the following formula in Cell T967

=IFs(P967="","None",IF(AC967="","",$U$2-P967))

What i'm trying to achieve is the following

If AC967=Nothing then in Cell T967 leave blank
If P967 = Nothing then in Cell T967 put None
if non of the above to criteria is true the perform the calculation U2-P967 and place that value in Cell T967

Any ideas guys i'm sure this is simple but not getting my head around it right now!

Thanks

Fletch
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I think youve just got the order of operations wrong way round in the formula, try this:

=IF(AC967="","",IF(P967="","None",U2-P967))

<tbody>
</tbody>
 
Upvote 0
I've tried your formula but it is still putting "none" even though there is nothing in AC967?
 
Upvote 0
Have you tried using AND () inside the IF formula?
The way you're doing is getting conflict with the FALSE statements.
 
Upvote 0
Have you tried using AND () inside the IF formula?
The way you're doing is getting conflict with the FALSE statements.

You have to think what you want to happen in both TRUE and FALSE statements for all 3 conditions.
The way you have built your formula is only considering part of the statement that's why is not giving the correct result.


=IF(AND(A2="",A3=""),D2-F2,IF(AND(A2<>"",A3=""),"None","")) then you have to add the argument for the reverse (A2="" and A3<>"")

change the cells to serve your sheet.

Hu
 
Upvote 0
Apologies guys there was a formula in there and even though the cell was blank reporting no info it wasn't registering as blank. Solved it now thanks for all your help

Fletch
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,375
Members
448,888
Latest member
Arle8907

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