Sep 28 2021 08:19 AM - edited Sep 30 2021 10:48 AM
Hi all,
I have start time on Column A and end time on column E in yyyy-mm-dd h:mm format and I calculate the time difference between the two on Column G using formula =$E6-$A6 in d "days," h "hours," m "minutes" format. There are multiple entries on column A, E and G.
My question: how do I get the average on Column G where the result is showing in d "days," h "hours," m "minutes" format? I tried the Average formula but it didn't work. I also need to exclude weekend and holiday as well.
This is the example of column A, E and G.
2020-08-12 12:52 | 2020-08-13 17:00 | 1 days, 4 hours, 8 minutes |
Thx all!!
Sep 28 2021 08:35 AM
Not sure I catch the question. Format doesn't matter, it only defines how to show values to users. You may take average of such values and display it in any applicable format you wish.
Sep 28 2021 08:40 AM - edited Sep 28 2021 08:53 AM
I add more info on my post, hopefully it helps.
So, there are multiple entries and I tried to get the average of the time difference using the same d "days," h "hours," m "minutes" format. I tried using Average formula but it didn't works.
Sep 28 2021 10:21 AM
Sep 28 2021 12:47 PM
You may calculate difference between each pair of days using WORKDAY.INTL function (microsoft.com), after that take average of all such differences.
Sep 30 2021 10:45 AM - edited Sep 30 2021 11:05 AM
My understanding, workday.intl function is to find the date, after a certain days from the starting date.
That said, I should know the number of days already, I just don't know when the ending date and workday.intl can tell me when the ending date in this scenario.
In my case, I have start date and ending date, what I do not know is the number of days (and hours) between the two dates.
The solution on the thread that I mentioned on my previous message is the solution that is works for me. It can calculate the number of days and hours and I can get the average as well. The problem is, I just realized that I also need to exclude weekend and holidays as well. Any chance you know the answer to this?