Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default consolidating duplicate values and summing their corresponding val

I have rows of data divided into counties with tonnage amounts in a
cooresponding cell. I need to have one row for each county, and the tonnage
for each separate one summed. Here is an example of what I mean....

State County Tons Commodity
LA ACADIA 1.5 AMMONIUM NITRATE
LA ACADIA 21.82 AMMONIUM NITRATE
LA ACADIA 0.3 AMMONIUM NITRATE
LA ACADIA 414.85 AMMONIUM NITRATE
LA ACADIA 9.1 AMMONIUM NITRATE
LA ACADIA 2.23 AMMONIUM NITRATE
LA ACADIA 38.73 AMMONIUM NITRATE
LA ACADIA 5809.16 AMMONIUM NITRATE
LA ACADIA 50.65 AMMONIUM NITRATE

So it should read:
LA ACADIA 6348.34 AMMONIUM NITRATE

I have hundreds of counties over 10 different spreadsheets.
Can you help??

--
taz0923
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 833
Default consolidating duplicate values and summing their corresponding val

EXCEL 2007

Hi Tricia.

It looks like you need a Pivot Table.

Please look at:-

http://www.pierrefondes.com/

- where I have just put up your example at number 86.

I have added a couple of counties so you can see how things work.

You may need to move some of the information that you have in other
Worksheets into a single Worksheet. I appreciate that this would involve
effort on your part.

Please hit Yes if my comments have helped.

Thanks.

"TriciaZ" wrote:

I have rows of data divided into counties with tonnage amounts in a
cooresponding cell. I need to have one row for each county, and the tonnage
for each separate one summed. Here is an example of what I mean....

State County Tons Commodity
LA ACADIA 1.5 AMMONIUM NITRATE
LA ACADIA 21.82 AMMONIUM NITRATE
LA ACADIA 0.3 AMMONIUM NITRATE
LA ACADIA 414.85 AMMONIUM NITRATE
LA ACADIA 9.1 AMMONIUM NITRATE
LA ACADIA 2.23 AMMONIUM NITRATE
LA ACADIA 38.73 AMMONIUM NITRATE
LA ACADIA 5809.16 AMMONIUM NITRATE
LA ACADIA 50.65 AMMONIUM NITRATE

So it should read:
LA ACADIA 6348.34 AMMONIUM NITRATE

I have hundreds of counties over 10 different spreadsheets.
Can you help??

--
taz0923

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default consolidating duplicate values and summing their corresponding val

You should stay in the ORIGINAL thread so we know what you are talking
about. If you don't like pivot tables (I don't either) then how about
subtotals or a macro to do it for you.
County Tons Commodity
ACADIA 1.5 AMMONIUM
ACADIA 21.82 AMMONIUM
ACADIA 0.3 AMMONIUM
ACADIA 414.85 AMMONIUM
ACADIA 9.1 AMMONIUM
ACADIA 2.23 AMMONIUM
ACADIA 38.73 AMMONIUM
ACADIA 5809.16 AMMONIUM
ACADIA 50.65 AMMONIUM
ACADIA Total 6348.34
Grand Total 6348.34


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TriciaZ" wrote in message
...
I have rows of data divided into counties with tonnage amounts in a
cooresponding cell. I need to have one row for each county, and the
tonnage
for each separate one summed. Here is an example of what I mean....

State County Tons Commodity
LA ACADIA 1.5 AMMONIUM NITRATE
LA ACADIA 21.82 AMMONIUM NITRATE
LA ACADIA 0.3 AMMONIUM NITRATE
LA ACADIA 414.85 AMMONIUM NITRATE
LA ACADIA 9.1 AMMONIUM NITRATE
LA ACADIA 2.23 AMMONIUM NITRATE
LA ACADIA 38.73 AMMONIUM NITRATE
LA ACADIA 5809.16 AMMONIUM NITRATE
LA ACADIA 50.65 AMMONIUM NITRATE

So it should read:
LA ACADIA 6348.34 AMMONIUM NITRATE

I have hundreds of counties over 10 different spreadsheets.
Can you help??

--
taz0923


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default consolidating duplicate values and summing their corresponding

Sorry,
You are right, I am just new to this group.
Yes, I need something - I don't care what - a macro, a formula.
To sum the duplicates and then delete them so the spreadsheet still
looks basically the same with only one entry per state, per county, with the
dups values totalled.

Thanks!
--
taz0923


"Don Guillett" wrote:

You should stay in the ORIGINAL thread so we know what you are talking
about. If you don't like pivot tables (I don't either) then how about
subtotals or a macro to do it for you.
County Tons Commodity
ACADIA 1.5 AMMONIUM
ACADIA 21.82 AMMONIUM
ACADIA 0.3 AMMONIUM
ACADIA 414.85 AMMONIUM
ACADIA 9.1 AMMONIUM
ACADIA 2.23 AMMONIUM
ACADIA 38.73 AMMONIUM
ACADIA 5809.16 AMMONIUM
ACADIA 50.65 AMMONIUM
ACADIA Total 6348.34
Grand Total 6348.34


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TriciaZ" wrote in message
...
I have rows of data divided into counties with tonnage amounts in a
cooresponding cell. I need to have one row for each county, and the
tonnage
for each separate one summed. Here is an example of what I mean....

State County Tons Commodity
LA ACADIA 1.5 AMMONIUM NITRATE
LA ACADIA 21.82 AMMONIUM NITRATE
LA ACADIA 0.3 AMMONIUM NITRATE
LA ACADIA 414.85 AMMONIUM NITRATE
LA ACADIA 9.1 AMMONIUM NITRATE
LA ACADIA 2.23 AMMONIUM NITRATE
LA ACADIA 38.73 AMMONIUM NITRATE
LA ACADIA 5809.16 AMMONIUM NITRATE
LA ACADIA 50.65 AMMONIUM NITRATE

So it should read:
LA ACADIA 6348.34 AMMONIUM NITRATE

I have hundreds of counties over 10 different spreadsheets.
Can you help??

--
taz0923


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default consolidating duplicate values and summing their corresponding

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TriciaZ" wrote in message
...
Sorry,
You are right, I am just new to this group.
Yes, I need something - I don't care what - a macro, a formula.
To sum the duplicates and then delete them so the spreadsheet still
looks basically the same with only one entry per state, per county, with
the
dups values totalled.

Thanks!
--
taz0923


"Don Guillett" wrote:

You should stay in the ORIGINAL thread so we know what you are talking
about. If you don't like pivot tables (I don't either) then how about
subtotals or a macro to do it for you.
County Tons Commodity
ACADIA 1.5 AMMONIUM
ACADIA 21.82 AMMONIUM
ACADIA 0.3 AMMONIUM
ACADIA 414.85 AMMONIUM
ACADIA 9.1 AMMONIUM
ACADIA 2.23 AMMONIUM
ACADIA 38.73 AMMONIUM
ACADIA 5809.16 AMMONIUM
ACADIA 50.65 AMMONIUM
ACADIA Total 6348.34
Grand Total 6348.34


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TriciaZ" wrote in message
...
I have rows of data divided into counties with tonnage amounts in a
cooresponding cell. I need to have one row for each county, and the
tonnage
for each separate one summed. Here is an example of what I mean....

State County Tons Commodity
LA ACADIA 1.5 AMMONIUM NITRATE
LA ACADIA 21.82 AMMONIUM NITRATE
LA ACADIA 0.3 AMMONIUM NITRATE
LA ACADIA 414.85 AMMONIUM NITRATE
LA ACADIA 9.1 AMMONIUM NITRATE
LA ACADIA 2.23 AMMONIUM NITRATE
LA ACADIA 38.73 AMMONIUM NITRATE
LA ACADIA 5809.16 AMMONIUM NITRATE
LA ACADIA 50.65 AMMONIUM NITRATE

So it should read:
LA ACADIA 6348.34 AMMONIUM NITRATE

I have hundreds of counties over 10 different spreadsheets.
Can you help??

--
taz0923


.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing data on duplicate records? Markl9869 Excel Worksheet Functions 2 November 21st 08 05:29 AM
Summing values within a value? liytgdh Excel Discussion (Misc queries) 1 September 18th 08 12:33 PM
Finding Most Recent Values in Col1 -- Summing Matching Values Rothman Excel Discussion (Misc queries) 5 December 20th 07 08:19 PM
summing values in one row based on values in another row Bert Excel Worksheet Functions 6 June 26th 06 09:43 PM
searching for values and summing the corresponding values Simon Excel Worksheet Functions 1 February 4th 05 12:13 AM


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"