Within cell progress bar for Working days?

AEB12BAR

New Member
Joined
Jan 7, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi all,
I have to track my work on an excel spreadsheet, including keeping track of some tasks that are time sensitive. I recently discovered the NETWORKDAYS function to track working days, which I have been (using along with conditional formatting) to trigger the date I have input in the cell (Q5 in my example below) to change colour.
=AND(Q5<>''',NETWORKDAYS(Q5,TODAY())>10)
With this formula, whilst the cell changing colour once the 10 working days has elapsed has been helpful, I was thinking what would be even better if the cell were to change colour based on the no. of working days that have passed?
So in the case of the above formula, if 5 working days have passed - 50% of the cell would be highlighted, so basically a progress bar - and with the cell progressively highlighting further from the left to the right of the cell as each day passes, until it is 100% highlighted after 10 working days.

Is there any way this can be done?
Any help/pointers would be much appreciated
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You can use a helper column R like this

1704740566346.png


The formula is the one you use:

Book1
QR
51/1/20247
61/2/20246
71/3/20245
81/4/20244
91/5/20243
101/6/20242
111/7/20241
121/8/20240
Sheet1
Cell Formulas
RangeFormula
R5:R12R5=IF(Q5<>"",TODAY()-Q5,0)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R5:R12Other TypeDataBarNO
R5:R12Other TypeDataBarNO


And set the conditional formatting to Data Bars and configure min and max values to 0 and 10:

1704740719784.png
 
Upvote 0
Solution
This is why I'm on here - learning. Stealing from Felix's idea:
MrExcelPlayground20.xlsx
GH
610 days agoToday
712/30/20231/8/2024
8
91/1/2024
101/2/2024
111/9/2024
121/8/2024
Sheet21
Cell Formulas
RangeFormula
G7G7=H7-9
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G9:G12Other TypeDataBarNO


1704744508111.png


EDIT - I have it backwards!
 
Upvote 0
This works better. I changed the color of the cells to blue, and made a reverse white bar.
MrExcelPlayground20.xlsx
GH
610 days agoToday
712/30/20231/8/2024
8
912/30/2023
101/2/2024
111/5/2024
121/8/2024
Sheet21
Cell Formulas
RangeFormula
G7G7=H7-9
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G9:G12Other TypeDataBarNO

1704745817892.png
 
Upvote 0
Cheers both - this is great!
In playing around with the dates when using Felix’s suggestion, I notice when I input an even older date - it doesn’t stop at 10 and tracks the overall no. of working days which have passed, which is a handy added bonus!
Thanks again for all your help - it is much appreciated:-)
 

Attachments

  • image001.png
    image001.png
    4 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,223,876
Messages
6,175,123
Members
452,614
Latest member
MRSWIN2709

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