Data required to be compiled and added up, maybe INDEX?

Scott Woody

New Member
Joined
Feb 7, 2019
Messages
2
Hi there! Sorry I'm not very good at Excel and have been struggling on this for a while - I've tried so many methods and tried hard to search for an answer..

Basically I'm creating a document to help me to do my job better and I am very limited to what I can do.

The report I require the data from is like follows
11111
4
11112
1
111112
111146
111113
11111
1

<tbody>
</tbody>

I'm looking to basically paste this report into a pre-made workbook every week and it will update my user sheet, I require it to add up all the values for each row.

e.g. 11111 is 10

Thank you in advance for any help and apologies if I have not explained it well enough!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
How about PowerQuery (Get&Transform)?

Code:
[SIZE=1]let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Column1"}, {{"Sum", each List.Sum([Column2]), type number}})
in
    #"Grouped Rows"[/SIZE]

Column1Column2Column1Sum
11111​
4​
11111​
10​
11112​
1​
11112​
1​
11111​
2​
11114​
6​
11114​
6​
11111​
3​
11111​
1​
 
Upvote 0
Welcome to the forum.

There are many ways to achieve this. One would be a PivotTable. Another would be formulas. One set uses the new dynamic arrays and spilling functions in Excel365. The other uses function SUMIFS, but you will have to type in each of the possible Identity terms to make it work, as in G2 through G4 here.

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
ABCDEFGH
1IdentityValueIdentitysum of ValueIdentitysum of Value
211111411111101111110
3111121111121111121
4111112111146111146
5111146
6111113
7111111
Sheet10
Cell Formulas
RangeFormula
D2=UNIQUE(A2:A7)
E2=SUMIFS(B2:B7,A2:A7,D2#)
H2=SUMIFS($B$2:$B$7,$A$2:$A$7,G2)
H3=SUMIFS($B$2:$B$7,$A$2:$A$7,G3)
H4=SUMIFS($B$2:$B$7,$A$2:$A$7,G4)
[/FONT]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,570
Messages
6,120,296
Members
448,954
Latest member
EmmeEnne1979

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