Unique Date and Location filter/index

gizzorge

New Member
Joined
Dec 22, 2016
Messages
2
I have data columns for date, location, and sum. For example:

11/15/16 Pittsburgh 25.50
11/15/16 Pittsburgh 16.50
11/15/16 Albany 12.50
11/15/16 Albany 15.50
12/16/16 Pittsburgh 10.25
12/16/16 Albany 16.95

What I would like to do is get total columns that get grand totals for each day and location...
So the resulting three columns would look like this:

11/15/16 Pittsburgh 42.00
11/15/16 Albany 17.00
12/16/16 Pittsburgh 10.25
12/16/16 Albany 16.95

Not quite sure how to use formulas to get things working like this. Any help would be greatly appreciated!

George
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

63falcondude

Well-known Member
Joined
Jan 15, 2016
Messages
3,572
There are a few ways of doing this. You can use a pivot table with Date and Location as Row Labels and Sum as Values or you can copy and paste columns A and B elsewhere, remove duplicates, and then use a formula such as:


Excel 2010
ABCDEFG
1DateLocationSumDateLocationSum
211/15/2016Pittsburgh25.511/15/2016Pittsburgh42
311/15/2016Pittsburgh16.511/15/2016Albany28
411/15/2016Albany12.512/16/2016Pittsburgh10.25
511/15/2016Albany15.512/16/2016Albany16.95
612/16/2016Pittsburgh10.25
712/16/2016Albany16.95
Sheet1
Cell Formulas
RangeFormula
G2=SUMIFS(C:C,A:A,E2,B:B,F2)
 
Upvote 0

Forum statistics

Threads
1,190,759
Messages
5,982,760
Members
439,794
Latest member
rhonllanders

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
Top