how to group data with criteria 2 columns.

jamiguel77

Active Member
Joined
Feb 14, 2006
Messages
378
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
  2. Web
hi all

i have this data...

A1="BA01", B1="15-01-2018", C1="5"
A2="BA01", B2="15-01-2018", C2="7"
A3="BA01", B3="15-01-2018", C3="15"
A4="BA01", B4="19-01-2018", C4="8"

i need get this result in other sheet:


A1="BA01", B1="15-01-2018", C1="27"
A2="BA01", B2="19-01-2018", C2="8"


how to do this?

thanks
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
using PowerQuery (Get&Transform)

IDDateValueIDDateCount
BA01
15/01/2018​
5​
BA01
15/01/2018​
27​
BA01
15/01/2018​
7​
BA01
19/01/2018​
8​
BA01
15/01/2018​
15​
BA01
19/01/2018​
8​

example file
 
Upvote 0
thanks for answer, how to enable: PowerQuery or is a separated program?

thanks...
 
Upvote 0
this is free add-in from MS site for excel 2010/2013 , built-in = 2016 and higher

edit:
not for Mac
 
Last edited:
Upvote 0
sandy666 thanks, is possible share the steps here for get the result?

much thanks.
 
Upvote 0
You can see steps selecting Show Queries from the Data tab (or similar, I don't remeber old layout of PQ) then double click on the table there

but this is simple in this case
after load source table to PQ Editor
select two first columns
then Group and Aggregation: SUM by Value
 
Last edited:
Upvote 0
you are welcome

nice to see you Like it
Let me know if you've any question
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,608
Members
449,038
Latest member
apwr

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