ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Summing up times by key words in diff column (https://www.excelbanter.com/excel-worksheet-functions/158246-summing-up-times-key-words-diff-column.html)

lsililai

Summing up times by key words in diff column
 
I have 3 columns: Date|Time|Activity.

26-Oct-06 13:20 Sanity Testing on File Maintenance.
14:00 Stopped.
14:15 Resume Sanity Testing.
15:00 Stopped.

I want to calculate timing per date based on Activity "STOPPED". Say every
date, if last column=STOP, total time in minutes should be calculated
accordingly in that row across.

Actually, I want to automate a manual log spread sheet


Max

Summing up times by key words in diff column
 
Presuming the activity duration to be calculated is based on the times shown
on the rows with "stopped" less the times in the immediate rows above,
perhaps this might suffice ..

Place in D2:
=IF(B2="","",IF(ISNUMBER(SEARCH("stopped",C2)),B2-B1,""))
Format D2 as time, copy down.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lsililai" wrote:
I have 3 columns: Date|Time|Activity.

26-Oct-06 13:20 Sanity Testing on File Maintenance.
14:00 Stopped.
14:15 Resume Sanity Testing.
15:00 Stopped.

I want to calculate timing per date based on Activity "STOPPED". Say every
date, if last column=STOP, total time in minutes should be calculated
accordingly in that row across.

Actually, I want to automate a manual log spread sheet



All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com