Excel Formula Help

Copper Contributor

I Need an excel formula to get total time spent in an account based on date, user, account number.


example below of my table data


2:13 PM123A7


2:13 PM123A7


3:13 PM123A78/1/23
1:00 AM456A18/5/23
1:52 AM456A18/5/23
7:32 AM123A48/9/23
7:35 AM123A48/9/23
12:21 PM123A48/9/23






3 Replies
In the "Time" column, is this the beginning of time? If so, where does the time end?
If it is the total time, why is it marked PM and AM?

@NikolinoDE the issue with the data report is it pulls start and end time in that one column under time.


I have been trying to figure out how to get the end time in another column quickly because of data can have have multiple times listed and the actual report I have is massive and would take forever to do it manually.




With Office 365 or Excel for the web you can apply this formula.

total time.png




An alternative for other versions of Excel could be this formula. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel for the web or Excel 2021. This formula is in cell E2 and copied down.