Nested IF and Formula

F4TMAN

New Member
Joined
Jun 29, 2020
Messages
25
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
How do I write this in a formula

If Cell E33 is equal or greater than 0 and if A33 is blank then leave active cell Z33 empty.
but
If Cell E33 is not equal to but greater than 0 and if A33 is not blank then return E33's value to Z33

Excel Formula:
=IF(and(E33>=0,A33="","")
=IF(and(E33>0,A33<>"",E33,"")

I might be way off. Thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Excel Formula:
=IF(AND(E33 >=0, A33=""),"",IF(AND(E33 >0,A33<>""),E33,""))
 
Upvote 0
Solution
Excel Formula:
=IF(AND(E33 >=0, A33=""),"",IF(AND(E33 >0,A33<>""),E33,""))
i mean it only took me 2 hours to still get nothing.. but here you are.. a true hero resolving my problem. Thank you Sir!
 
Upvote 0
my pleasure :) happy spreadsheeting!
fwiw your error in thinking was the syntax for AND function.
it is = AND ( the first test you need to have true , the second test to be true )
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
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