IF OR with 3 Conditions

DPXCV

New Member
Joined
Aug 16, 2024
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Looking for some help on finalizing a formula. The below formula will return a value of "NULL" if either A10 or B10 is blank, or if both have values will return a value of today's date minus cell B10 (currently shown). However, once cell C10 is populated with a date, I would like cell D10 to change to "Ack", so long as there is a date in cells A10 - C10.


=IF(OR(A10="",B10=""),"NULL",TODAY()-B10)
1723831922952.png
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi & welcome to MrExcel.
How about
Excel Formula:
=if(c10<>"","Ack",IF(OR(A10="",B10=""),"NULL",TODAY()-B10))
Or maybe
Excel Formula:
=IF(OR(A10="",B10=""),"NULL",if(c10<>"","Ack",TODAY()-B10)))
 
Upvote 1
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=if(c10<>"","Ack",IF(OR(A10="",B10=""),"NULL",TODAY()-B10))
Or maybe
Excel Formula:
=IF(OR(A10="",B10=""),"NULL",if(c10<>"","Ack",TODAY()-B10)))
I was putting the ack at the end instead of the beginning, thanks.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

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