Share via

Formulas in excel- calculating dates

Anonymous
2024-01-16T21:59:02+00:00

Hi,

I'm putting together a charting log to track assessments (see my screenshot below). I would like to put a formula in excel which will calculate the next due date. For example, column C should be 30 days from column B. Column D should be 30 days from column C and so on. Additionally, I would like the cell to change colors when the due date is approaching and when it becomes overdue. Any suggestions?

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-01-17T17:44:36+00:00

    Okay. I think I'm understanding it except for getting a fill color to change when the date is approaching

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-01-16T23:04:47+00:00

    Try this:

    Enter a name in A2, the date in B2, and use this formula in C2:

    =B2+30

    Leave D2 blank, but use conditional formatting on D2, using the formula option, with the formula

    =AND(C2-TODAY()<30,D2="")

    and choose a fill color to indicate to you that the date is approaching (you can reduce the 30 to 14, say, if you want two week notice) and the task hasn't been completed. (fill in the date in D2 when it is done.)

    Then in E2, use the formula

    =C2+30 (if you want to base the next due date on the previous due date)

    or

    =D2+30 (if you want to base the next due date on the completion date rather than the due date)

    and copy D2 and paste in F2:

    Then copy E2:F2 and paste in G2:H2 and then in more pairs of columns to create the size table you want.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-01-16T22:30:46+00:00

    thanks for your response!

    2 things:

    1. How do I ensure that the formula is copied to the right
    2. So if I put a space in between the columns, then I can put in a logic formula?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-01-16T22:07:32+00:00

    The formula is easy - in C2, use

    =B2+30

    copied to the right.

    Harder is logic to say when something is overdue - you need more information in your table to indicate status other than just the due date. IF something is due tomorrow, but I finished it yesterday, there needs to be a space to enter the finished date for each of the due dates....

    Was this answer helpful?

    0 comments No comments