- Jan 3, 2005
- 20
- 0
- 0
I have a spreadsheet that has a list of location numbers in one column and then an amount in the next column. The tricky part is that the column with the location numbers has several entries for each location. I would like to sum the total amount for each location and put it in a new column.
Here is an example:
Col 1 Col 2
1234 10
1234 15
1238 25
1238 22
1238 8
1299 15
I would like to take all the rows where column 1 = 1238 and sum the values that are found in column 2. So it would be 25 + 22 + 8. I would like to do it for every different location value.
There are approx 500 different locations and more than 1200 rows in this spreadsheet, so it would be extremely tedious to do it manually.
Thanks in advance!
Here is an example:
Col 1 Col 2
1234 10
1234 15
1238 25
1238 22
1238 8
1299 15
I would like to take all the rows where column 1 = 1238 and sum the values that are found in column 2. So it would be 25 + 22 + 8. I would like to do it for every different location value.
There are approx 500 different locations and more than 1200 rows in this spreadsheet, so it would be extremely tedious to do it manually.
Thanks in advance!