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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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