If Formula with multiple criteria to have return value depending on dates

Luna_Maria

New Member
Joined
Apr 23, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I am already out of option trying to get the right formula for my scenario.
I have 3 columns 1. Panned Date(Column A), 2. Completion Date(Column B), 3. Status(Column C), what I am trying to achieve is depending on the 1st 2 columns I'll be having different status.

Here's what I am trying to test:

=If(And(B1="",A1>=Today()),"On Track","") - I am returning correct value in here, but since i have different scenario I need to add more ifs.

here where the problem arise, when i add more, and i needed to have 2 more ifs.
=If(And(B1="",A1>=Today(),"On Track","",if(and(isnumber(B1),"Completed",""))

what is the right thing to do?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Please see if it works:
Excel Formula:
=IFS(AND(B1="",A1>=TODAY()),"On Track",AND(ISNUMBER(B1),A1>=TODAY()),"Completed")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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