Cartillo
asked on
Count Total Duration
Hi Experts,
I would like to request Experts help create a macro to count total duration of each title at column D based on time at Column A. E.g. Total duration of Title1(D2) is (A3 - A2) and Total duration for Title2 is (A4 - A3). Hope Experts could help me create this feature.
Time.xls
I would like to request Experts help create a macro to count total duration of each title at column D based on time at Column A. E.g. Total duration of Title1(D2) is (A3 - A2) and Total duration for Title2 is (A4 - A3). Hope Experts could help me create this feature.
Time.xls
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Hello xtermie,
My first though was a simple subtraction too....but that won't work when you get down to H29. My formula is designed to work for H29, H30, H31 and beyond, assuming the + times are deemed to be the next day....
regards, barry
My first though was a simple subtraction too....but that won't work when you get down to H29. My formula is designed to work for H29, H30, H31 and beyond, assuming the + times are deemed to be the next day....
regards, barry
ASKER
Hi barry,
Is that any chance convert this solution into macro, so that no formula is displayed in the cells when user tagged the cell.
Is that any chance convert this solution into macro, so that no formula is displayed in the cells when user tagged the cell.
Sorry, been away from EE - VBA isn't my forte - perhaps somebody else can help you
regards, barry
regards, barry
ASKER
Hi,
The formula is just nice, thanks for the help.
The formula is just nice, thanks for the help.
ASKER
Thanks for the help
=A3-A2
and copy down