How to calculate days past due based on "text" in another column

How to calculate days past due based on "text" in another column

I need help creating the formula to calculate the number of days an item is past due based on my Status column. The Status column contains the drop-down selection of “Complete”, “Not Started”, and “In Progress”. I want the calculation to return a number whenever “Complete” is NOT selected. I’ve seen variations on this type of question based on using a Complete column and a check box, but I don’t want to have to update two columns when one will suffice to identify if something is complete or not.

Best Answers

Answers

  • Thank you Paul. I made a slight adjustment and ended up with =IF([email protected] <> "Complete", TODAY() - [Due Date]@row), then I put in a Conditional Format so that when the number was <1 the font is made white so that the negative numbers are not visible. I'm not sure what to do in the formula to keep negative numbers from being displayed so that was my work around. If you have a better idea let me know. Thanks again.

  • That worked great! Thanks. Now I can perform a metric to count the number of line items past due based on that column =COUNTIF([Days Past Due]:[Days Past Due], >=1)

    Thank you.

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    Your COUNTIF would also work with your solution of including the negative numbers and "hiding" them since the criteria for your COUNTIF is greater than or equal to zero.


    There are a number of variations you can use (as you can see). The best one will depend on your overall goal. Sometimes it is easier to make the source sheet a little more complex so that the metrics formulas can be a little more simple. Other times it won't make a huge difference either way.

Sign In or Register to comment.