IncredibleVolk
Technical User
I have a group of accounts with a beginning start time and a beginning end time with duplicates in the range. I need to subtract the earliest (or first) start time from the latest (or last) end time to obtain the total time. The following formula outputs the total time if there's only one instance (no duplicates). How can I subtract the first start time minus the last end time on the account?
=IF(COUNTIF($E$2:$E$3702,E2)=1, H2-G2, "")
ACCOUNT START/TM END/TM TOTAL TIME
4 9:04 9:45
4 9:04 9:46
6 9:01 9:19
6 9:01 9:19
6 9:02 9:22
6 9:02 9:22
6 9:02 9:23
13 9:04 9:46 0:42
=IF(COUNTIF($E$2:$E$3702,E2)=1, H2-G2, "")
ACCOUNT START/TM END/TM TOTAL TIME
4 9:04 9:45
4 9:04 9:46
6 9:01 9:19
6 9:01 9:19
6 9:02 9:22
6 9:02 9:22
6 9:02 9:23
13 9:04 9:46 0:42