IF statement help please, thanks

pscofe

New Member
Joined
Jan 24, 2020
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hi, in status update I want to return "In Progress", "Not started" and "Completed"

If todays date is greater than End date = "Completed"
If todays date is greater than start date but less than End date = "In Progress"
if todays date is less than start date = "Not started"

Start DateEnd dateDurationStatus
04-Sep​
25-Sep​
21​
04-Sep​
03-Nov​
60​
02-Oct​
05-Nov​
34​

Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
1693570601410.png


Formula in D2:
Excel Formula:
=IF(TODAY()>=B2,"Completed",IF(AND(TODAY()>=A2,TODAY()<B2),"In Progress",IF(TODAY()<A2,"Not started","")))
 
Upvote 1
How about
Fluff.xlsm
ABCD
1Start DateEnd dateDurationStatus
228-Aug25-Sep21In progress
304-Sep03-Nov60Not started
402-Aug28-Aug34Complete
Sheet5
Cell Formulas
RangeFormula
D2:D4D2=IF(A2>TODAY(),"Not started", IF(B2>TODAY(),"In progress","Complete"))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,057
Messages
6,128,527
Members
449,456
Latest member
SammMcCandless

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