Need help with days remaining formula

Iccreamann21

New Member
Joined
Sep 25, 2013
Messages
48
Office Version
  1. 365
Platform
  1. Windows
I am looking for a better formula in column H that does not include weekends as a day remaining. H7 and H24 are examples


IATF READINESS 2024.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJ
3June 24, 2024July 01, 2024July 08, 2024July 15, 2024
47.777777777777730024-Jun25-Jun26-Jun27-Jun28-Jun29-Jun30-Jun1-Jul2-Jul3-Jul4-Jul5-Jul6-Jul7-Jul8-Jul9-Jul10-Jul11-Jul12-Jul13-Jul14-Jul15-Jul16-Jul17-Jul18-Jul19-Jul20-Jul
5DONETASKAUDITOROWNERSTART DATEEND DATEDAYS DURATIONDAYS REMAININGDONE %MOTUWETHFRSASUMOTUWETHFRSASUMOTUWETHFRSASUMOTUWETHFRSA
6UPDATE PROCESS MAPPING 
7PLANTAUDITOR #1OWNER #16/25/20247/18/202418756%                        «  
8MANAGEMENT REVIEWAUDITOR #2OWNER #26/25/20246/26/202420100%  «                        
9PROCESS #1AUDITOR #3OWNER #36/25/20246/26/202420100%  «                        
10PROCESS #2AUDITOR #4OWNER #46/26/20246/27/202420100%   «                       
11PROCESS #3AUDITOR #5OWNER #56/26/20246/27/202420100%   «                       
12PROCESS #4AUDITOR #6OWNER #67/2/20247/3/202420100%         «                 
13PROCESS #5AUDITOR #7OWNER #77/2/20247/3/202420100%         «                 
14PROCESS #6AUDITOR #8OWNER #87/9/20247/10/202420100%                «          
15PROCESS #7AUDITOR #9OWNER #97/9/20247/10/202420100%                «          
16PROCESS #8AUDITOR #10OWNER #107/10/20247/11/202420100%                 «         
17PROCESS #9AUDITOR #11OWNER #117/10/20247/11/20242050%                 «         
18PROCESS #10AUDITOR #12OWNER #12000%                           
19PROCESS #11AUDITOR #13OWNER #13000%                           
20PROCESS #12AUDITOR #14OWNER #14000%                           
21PROCESS #13AUDITOR #15OWNER #157/15/20247/16/2024250%                      «    
22PROCESS #14AUDITOR #16OWNER #167/16/20247/17/2024260%                       «   
23PROCESS #15AUDITOR #17OWNER #177/17/20247/18/2024270%                        «  
24PROCESS #16AUDITOR #18OWNER #187/12/20247/15/2024240%                     «     
OH - PLANT READINESS 2024 (2)
Cell Formulas
RangeFormula
J3J3=C1
P3P3=J3+7
W3,AD3W3=P3+7
J4J4=C1
K4:AJ4K4=J4+1
J6,J7:AJ24J6=IF(J$4=$F6,"«","")
E7E7=MIN(E8:F24)
F7F7=MAX(E8:F24)
G7:G24G7=NETWORKDAYS(E7,F7)
H7:H24H7=IF(F7-TODAY() < 0.5,0,F7-TODAY())
I7I7=AVERAGE(I8:I24)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
J25,J7:BE24,J6,J26:BE86,J88:BE91,J87,J93:BE96,J92Expression=WEEKDAY(J$4,2)>5textNO
I6:I96Other TypeDataBarNO
J25,J7:BE24,J6,J26:BE86,J88:BE91,J87,J93:BE96,J92Expression=AND($I6>0,J$4<=($E6+($F6-$E6)*$I6),J$4>=$E6)textNO
J25,J7:BE24,J6,J26:BE86,J88:BE91,J87,J93:BE96,J92Expression=AND(J$4>=$E6,J$4<=$F6)textNO
J25,J7:BE24,J6,J26:BE86,J88:BE91,J87,J93:BE96,J92Expression=J$4=TODAY()textNO
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about
Excel Formula:
=LET(d,NETWORKDAYS(TODAY(),F7),IF(d<=0,0,d))
 
Upvote 1
Solution
Thank you! That worked perfectly!

What does the "d" represent for future knowledge?
The LET formula allows you to give a name to the results of the following formula, so it means whatever you want it to mean. In the formula you posted, you could enter "days" (or nearly any other word) for all the "d"s and it would still work. The LET formula is a way for you to avoid recalculating the same formula over and over again, making things more efficient while also making the code more readable.
 
Upvote 1

Forum statistics

Threads
1,223,884
Messages
6,175,174
Members
452,615
Latest member
bogeys2birdies

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