Automatic Status update depending on data entered

Rusty Benson

New Member
Joined
Jul 25, 2002
Messages
7
Hi
I have 3 columns (Columns A-G have data entered when the row is being used)
I =Due Date
H= Completed Date
L Status which has 3 choices: - Overdue, Completed, In Progress
Cell T1 has Today() entered to get a date to trigger the overdue reference.

Requirements
If Both I & H columns are empty return In Progress in column J (when there is data in the prior columns on the same row)
If Column I Due date has passed the show Overdue in column J
if column H has a completion date entered then show complete In Column J

I have tried using a nested if statement however it doesn't work properly.
IF(I5>0,"complete",IF(H5<$T$1,"overdue","in Progress"))
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Perhaps this:
Book1
ABCDEFGHIJKLMNOPQRST
1DataCompletedDue DateStatus2/8/2024
2datadatadatadatadatadatadataIn Progress
3datadatadatadatadatadatadata2/8/20242/9/2024Complete
4datadatadatadatadatadatadata2/5/2024Overdue
5datadatadatadatadatadatadata2/10/2024 
6 
Sheet1
Cell Formulas
RangeFormula
T1T1=TODAY()
J2:J6J2=IF(AND(COUNTA(A2:G2)>0,H2="",I2=""),"In Progress",IF(AND(COUNTA(A2:G2)>0,H2="",I2<$T$1),"Overdue",IF(H2>0,"Complete","")))


And what is the desired result for row 5? Currently it returns blank... should it also show "in progress" if there is a date in col I?
 
Upvote 0
Thank you for that and Yes if there is data in the prior columns in row 5 it should show "in progress"
Okay, how about this:
Book1
ABCDEFGHIJKLMNOPQRST
1DataCompletedDue DateStatus2/8/2024
2datadatadatadatadatadatadataIn Progress
3datadatadatadatadatadatadata2/8/20242/9/2024Complete
4datadatadatadatadatadatadata2/5/2024Overdue
5datadatadatadatadatadatadata2/10/2024In Progress
6 
Sheet1
Cell Formulas
RangeFormula
T1T1=TODAY()
J2:J6J2=IF(AND(COUNTA(A2:G2)>0,H2="",OR(I2="",I2>=$T$1)),"In Progress",IF(AND(COUNTA(A2:G2)>0,H2="",I2<$T$1),"Overdue",IF(H2>0,"Complete","")))
 
Upvote 0
Again thank you.
In the same sheet I am trying to put a conditional format into the Due Date Column so that if the prior columns have data in the same row but no due date has been entered then that due date cell will say "Due Date Must Be Entered"
 
Upvote 0
Again thank you.
In the same sheet I am trying to put a conditional format into the Due Date Column so that if the prior columns have data in the same row but no due date has been entered then that due date cell will say "Due Date Must Be Entered"
You won't be able to do that with a formula or conditional formatting if you want it to happen in that column. You will need to use VBA to achieve that. Cells can only hold a formula or a value, not both, and conditional formatting cannot change the value in a cell.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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