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

Luna_Maria

New Member
Joined
Apr 23, 2021
Messages
4
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

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.

Habtest

Board Regular
Joined
Jul 30, 2020
Messages
195
Office Version
  1. 365
Platform
  1. Windows
Please see if it works:
Excel Formula:
=IFS(AND(B1="",A1>=TODAY()),"On Track",AND(ISNUMBER(B1),A1>=TODAY()),"Completed")
 
Solution

Luna_Maria

New Member
Joined
Apr 23, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Please see if it works:
Excel Formula:
=IFS(AND(B1="",A1>=TODAY()),"On Track",AND(ISNUMBER(B1),A1>=TODAY()),"Completed")
Thank you, that's it. It solved my problem, I appreciate it :)
 

Forum statistics

Threads
1,143,637
Messages
5,719,961
Members
422,251
Latest member
bonebreaker100

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
Top