Complex If/Then Statements

Lora66

New Member
Joined
Oct 4, 2011
Messages
3
I'm creating a type of checklist in Excel where I have the general milestone/task listed in a column with all of the individual steps to complete the task listed under it.

What I want is after the completion date of every individual step has been entered in Column E, for today's date [TODAY()] to be automatically entered into the column E next to the Milestone heading.

I've tried conditional formatting and if/then nesting, but I can't seem to get it to work right. Any suggestions? Thanks!

For example:

Column D: Column E: (Actual Completion Date)

Milestone 1: (automatically enter 09/28/2011 as completion date)

Step 1: 09/27/2011
Step 2: 09/28/2011
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
So, after the user enters a date in column E, you want to overwrite it with today's date?
 
Upvote 0
So, after the user enters a date in column E, you want to overwrite it with today's date?
I want it to overwrite only in certain rows in column E that are in conjunction with my task heading.

For example, the user can type any date into E5 and E6 b/c those are the rows where steps 1 (D5) and 2 (D6) are. But, once all two steps have dates entered, then I want today's date (the assumed completion date of the entire task) to be automatically triggered to be entered in E4, the row where the task heading is located.
 
Upvote 0
OK,although I'd have thought you wanted the latest date in the section, not today's.

Anyway...the trigger point is when all fields are non blank, so suggest using countif.
 
Upvote 0
The latest date in the section would work too.

Could you give me an example of how you would write the formula with CountIf with both TODAY() and the "lastest date" as the resulting value?
 
Upvote 0
=IF(NOT(COUNTIF(D7:D10,"")),TODAY())
=IF(NOT(COUNTIF(D7:D10,"")),MAX(D7:D10))

Assumes that

a) You know how many steps (in this case, 4)
b) Dates are the only entered values (use data validation to sort this).
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,843
Members
449,471
Latest member
lachbee

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