Summarize data from five different columns and maintain column labeling and format

annieflanz

New Member
Joined
Dec 11, 2012
Messages
14
Office Version
  1. 365
Platform
  1. MacOS
Hello,

I have set of data of time spent on various activities, tasks, and projects for a set of clients over a period of time.

I'm looking to summarize that data to determine how much time was spent each day on each combination of the activity, task, project, and client. I tried a pivot table, but cannot figure out how to get the results in the same column format. The column format is necessary to upload into a specific time tracking/billing program. I'm thinking of something that would remove duplicate entries of the same date, client, project, task, and activity, but that also summarizes the time at the same time.

The example attached here has 50 rows of data, whereas the spreadsheet I am working with has 500,000+ rows of data, so anything too manual wouldn't be effective.

Any way to accomplish this goal? I appreciate any help or suggestions! Thank you!

Here's an example of the data:

Example.xlsx
ABCDEF
1DateClientProjectTaskActivityHours
22022-01-01Client AProject XTask 2Activity 28
32022-01-01Client AProject YTask 3Activity 32
42022-01-01Client AProject ZTask 2Activity 17
52022-01-01Client AProject ZTask 4Activity 39
62022-01-01Client BProject XTask 4Activity 28
72022-01-01Client BProject XTask 4Activity 33
82022-01-01Client BProject YTask 2Activity 310
92022-01-01Client BProject ZTask 5Activity 32
102022-01-02Client AProject XTask 4Activity 38
112022-01-02Client AProject YTask 4Activity 17
122022-01-02Client AProject YTask 4Activity 14
132022-01-02Client AProject ZTask 2Activity 34
142022-01-02Client AProject ZTask 5Activity 32
152022-01-02Client BProject YTask 5Activity 36
162022-01-02Client CProject XTask 4Activity 14
172022-01-02Client CProject XTask 5Activity 31
182022-01-02Client CProject ZTask 1Activity 39
192022-01-02Client CProject ZTask 4Activity 16
202022-01-02Client DProject XTask 3Activity 18
212022-01-02Client DProject YTask 5Activity 31
222022-01-02Client DProject YTask 5Activity 38
232022-01-03Client AProject XTask 1Activity 18
242022-01-03Client AProject XTask 5Activity 23
252022-01-03Client AProject YTask 4Activity 37
262022-01-03Client CProject XTask 5Activity 23
272022-01-03Client CProject YTask 2Activity 110
282022-01-03Client DProject ZTask 2Activity 11
292022-01-04Client AProject XTask 2Activity 21
302022-01-04Client AProject XTask 2Activity 26
312022-01-04Client AProject YTask 4Activity 32
322022-01-04Client AProject YTask 5Activity 17
332022-01-04Client AProject ZTask 4Activity 16
342022-01-04Client BProject YTask 1Activity 22
352022-01-04Client CProject YTask 4Activity 23
362022-01-04Client CProject ZTask 4Activity 23
372022-01-04Client DProject ZTask 2Activity 36
382022-01-05Client AProject YTask 2Activity 110
392022-01-05Client AProject ZTask 2Activity 15
402022-01-05Client BProject XTask 1Activity 24
412022-01-05Client BProject XTask 2Activity 22
422022-01-05Client BProject YTask 1Activity 19
432022-01-05Client BProject YTask 5Activity 22
442022-01-05Client BProject ZTask 4Activity 29
452022-01-05Client CProject YTask 1Activity 14
462022-01-05Client CProject ZTask 4Activity 27
472022-01-05Client DProject XTask 1Activity 37
482022-01-05Client DProject YTask 1Activity 23
492022-01-05Client DProject YTask 5Activity 37
502022-01-05Client DProject ZTask 3Activity 25
512022-01-05Client DProject ZTask 4Activity 28
Desired Results


Here is an example of the results I am looking for:

Example.xlsx
ABCDEF
1DateClientProjectTaskActivityTotal Hours For Day
22022-01-01Client AProject XTask 2Activity 2<TOTAL HOURS FOR DAY>
32022-01-01Client AProject YTask 3Activity 3<TOTAL HOURS FOR DAY>
42022-01-01Client AProject ZTask 2Activity 1<TOTAL HOURS FOR DAY>
52022-01-01Client AProject ZTask 4Activity 3<TOTAL HOURS FOR DAY>
62022-01-01Client BProject XTask 4Activity 2<TOTAL HOURS FOR DAY>
72022-01-01Client BProject XTask 4Activity 3<TOTAL HOURS FOR DAY>
82022-01-01Client BProject YTask 2Activity 3<TOTAL HOURS FOR DAY>
92022-01-01Client BProject ZTask 5Activity 3<TOTAL HOURS FOR DAY>
102022-01-02Client AProject XTask 4Activity 3<TOTAL HOURS FOR DAY>
112022-01-02Client AProject YTask 4Activity 1<TOTAL HOURS FOR DAY>
122022-01-02Client AProject ZTask 2Activity 3<TOTAL HOURS FOR DAY>
132022-01-02Client AProject ZTask 5Activity 3<TOTAL HOURS FOR DAY>
142022-01-02Client BProject YTask 5Activity 3<TOTAL HOURS FOR DAY>
152022-01-02Client CProject XTask 4Activity 1<TOTAL HOURS FOR DAY>
162022-01-02Client CProject XTask 5Activity 3<TOTAL HOURS FOR DAY>
172022-01-02Client CProject ZTask 1Activity 3<TOTAL HOURS FOR DAY>
182022-01-02Client CProject ZTask 4Activity 1<TOTAL HOURS FOR DAY>
192022-01-02Client DProject XTask 3Activity 1<TOTAL HOURS FOR DAY>
202022-01-02Client DProject YTask 5Activity 3<TOTAL HOURS FOR DAY>
212022-01-03Client AProject XTask 1Activity 1<TOTAL HOURS FOR DAY>
222022-01-03Client AProject XTask 5Activity 2<TOTAL HOURS FOR DAY>
232022-01-03Client AProject YTask 4Activity 3<TOTAL HOURS FOR DAY>
242022-01-03Client CProject XTask 5Activity 2<TOTAL HOURS FOR DAY>
252022-01-03Client CProject YTask 2Activity 1<TOTAL HOURS FOR DAY>
262022-01-03Client DProject ZTask 2Activity 1<TOTAL HOURS FOR DAY>
272022-01-04Client AProject XTask 2Activity 2<TOTAL HOURS FOR DAY>
282022-01-04Client AProject YTask 4Activity 3<TOTAL HOURS FOR DAY>
292022-01-04Client AProject YTask 5Activity 1<TOTAL HOURS FOR DAY>
302022-01-04Client AProject ZTask 4Activity 1<TOTAL HOURS FOR DAY>
312022-01-04Client BProject YTask 1Activity 2<TOTAL HOURS FOR DAY>
322022-01-04Client CProject YTask 4Activity 2<TOTAL HOURS FOR DAY>
332022-01-04Client CProject ZTask 4Activity 2<TOTAL HOURS FOR DAY>
342022-01-04Client DProject ZTask 2Activity 3<TOTAL HOURS FOR DAY>
352022-01-05Client AProject YTask 2Activity 1<TOTAL HOURS FOR DAY>
362022-01-05Client AProject ZTask 2Activity 1<TOTAL HOURS FOR DAY>
372022-01-05Client BProject XTask 1Activity 2<TOTAL HOURS FOR DAY>
382022-01-05Client BProject XTask 2Activity 2<TOTAL HOURS FOR DAY>
392022-01-05Client BProject YTask 1Activity 1<TOTAL HOURS FOR DAY>
402022-01-05Client BProject YTask 5Activity 2<TOTAL HOURS FOR DAY>
412022-01-05Client BProject ZTask 4Activity 2<TOTAL HOURS FOR DAY>
422022-01-05Client CProject YTask 1Activity 1<TOTAL HOURS FOR DAY>
432022-01-05Client CProject ZTask 4Activity 2<TOTAL HOURS FOR DAY>
442022-01-05Client DProject XTask 1Activity 3<TOTAL HOURS FOR DAY>
452022-01-05Client DProject YTask 1Activity 2<TOTAL HOURS FOR DAY>
462022-01-05Client DProject YTask 5Activity 3<TOTAL HOURS FOR DAY>
472022-01-05Client DProject ZTask 3Activity 2<TOTAL HOURS FOR DAY>
482022-01-05Client DProject ZTask 4Activity 2<TOTAL HOURS FOR DAY>
Data
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,957
Messages
6,175,622
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top