Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to combine data based on two fields..

Let's say that you have a spreadsheet with three fields, like:

Year Group Value
1970 1 3
1970 1 1
1972 1 1
1973 1 5
1974 1 2
1974 1 0
1974 1 2
1970 2 1
1970 2 1
1973 2 2
1975 2 3
1975 2 5

What I want is to combine all values for a given group in a single year.
So for instance, the above spreadsheet would become:

Year Group Value
1970 1 4
1972 1 1
1973 1 5
1974 1 4
1970 2 2
1973 2 2
1975 2 8

Any help on where to look as far as excel 2003 commands would be appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How to combine data based on two fields..

A pivot table would be ideal...

http://peltiertech.com/Excel/Pivots/pivotstart.htm
--
HTH...

Jim Thomlinson


"gambler1650" wrote:

Let's say that you have a spreadsheet with three fields, like:

Year Group Value
1970 1 3
1970 1 1
1972 1 1
1973 1 5
1974 1 2
1974 1 0
1974 1 2
1970 2 1
1970 2 1
1973 2 2
1975 2 3
1975 2 5

What I want is to combine all values for a given group in a single year.
So for instance, the above spreadsheet would become:

Year Group Value
1970 1 4
1972 1 1
1973 1 5
1974 1 4
1970 2 2
1973 2 2
1975 2 8

Any help on where to look as far as excel 2003 commands would be appreciated!

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
combine rows with similar data, but different fields in excel Herbert Seidenberg Excel Discussion (Misc queries) 0 February 25th 09 08:26 PM
How to combine data files with different fields? pavil New Users to Excel 1 January 13th 08 08:09 AM
How do I count based on conditions on two fields in data? Scott Excel Discussion (Misc queries) 1 September 18th 07 03:44 PM
Adding multiple data fields from time based data. JMK Excel Discussion (Misc queries) 1 July 27th 07 10:59 PM
combine 2 tables of data into one based on date Tim Nealon Excel Worksheet Functions 5 September 1st 06 01:42 AM


All times are GMT +1. The time now is 08:25 AM.

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

About Us

"It's about Microsoft Excel"