Simple consolidation by date

leebauman

Board Regular
Joined
Jul 1, 2004
Messages
194
Office Version
  1. 365
Platform
  1. Windows
Hello, I want to convert this:
Excel 2016 (Windows) 32 bit
[Table="width:, class:head"]
[tr=bgcolor:rgb(255, 255, 255)][td]
Name​
[/td][td]
Date​
[/td][td]
Hours​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/1/2017​
[/td][td]
4.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/1/2017​
[/td][td]
3.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/2/2017​
[/td][td]
4.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/2/2017​
[/td][td]
5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/1/2017​
[/td][td]
3.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/1/2017​
[/td][td]
3​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/2/2017​
[/td][td]
6​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/2/2017​
[/td][td]
2.5​
[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]

to this:
Excel 2016 (Windows) 32 bit
[Table="width:, class:head"]
[tr=bgcolor:rgb(255, 255, 255)][td]
Name​
[/td][td]
Date​
[/td][td]
Hours​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/1/2017​
[/td][td]
8​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Bob[/td][td]
1/2/2017​
[/td][td]
9.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/1/2017​
[/td][td]
6.5​
[/td][/tr]

[tr=bgcolor:rgb(255, 255, 255)][td]Mary[/td][td]
1/2/2017​
[/td][td]
8.5​
[/td][/tr]
[/table]
[Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You're looking to summarize your table, then, right? Maybe a pivot table?
 
Upvote 0
I'm looking to build a new table which I can pivot off. If I pivot off the existing data, it gives me headers by Name which makes it difficult to look at totals by date (my data set is very large...years of dates and name). Thanks.
 
Upvote 0
I'd say VBA or run the advanced filter the first two columns (no criteria, check unique) and use a SUMIFS formula to populate the totals for the third column.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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