I have 2 dates with dates and time, where I'd like to subtract them and determine the amount of time between those dates. I'd like to exclude weekends in the result. I'd also like to consider only partial days if the time for either the 1st date or the 2nd date is within the day sometime.
Anyone know how to put this in a formula?
Also if possible, I'd like to be able to define what my full day is, based on a start time and end time, and factor that into consideration.
For example if in cells G1 and H1 for references, I define the start of a date as 8:00AM and end of that same date as 4:00PM respectively as what constitutes 1 full day in my result.
In cells A1 and B1 I have 4/28/2023 12:00PM and 5/2/2023 4:00PM respectively.
I'd like the result of my formula referencing those cells to be 2.50 days.
Anyone know how to put this in a formula?
Also if possible, I'd like to be able to define what my full day is, based on a start time and end time, and factor that into consideration.
For example if in cells G1 and H1 for references, I define the start of a date as 8:00AM and end of that same date as 4:00PM respectively as what constitutes 1 full day in my result.
In cells A1 and B1 I have 4/28/2023 12:00PM and 5/2/2023 4:00PM respectively.
I'd like the result of my formula referencing those cells to be 2.50 days.