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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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