Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ScottBerger
 
Posts: n/a
Default If I have X,Y data how do I sum the Y values using a set of bins based on x values


I have a complex (x,y) data set equivalent to this simplified example:

Years Experience (x) vs. Workhours (y)
1.3, 7
4.0, 6
4.2, 9
4.5, 3
5.0, 9
5.5, 3
7.1, 3
9.5, 18

I want to produce a set of Experience data bins where the total number
of workhours is calculated within each Experience bin, for example:

1, 7
2, 0
3, 0
4, 18 (Sum of y values when x is between 4 and 5)
5, 12 (Sum y values when x is between 5 and 6)
6, 0
7, 3
8, 0
9, 18


Any help would be greatly appreciated.

Scott


--
ScottBerger
------------------------------------------------------------------------
ScottBerger's Profile: http://www.excelforum.com/member.php...o&userid=16553
View this thread: http://www.excelforum.com/showthread...hreadid=314100

  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

I would try a Pivot Table with Grouping.

On Tue, 16 Nov 2004 17:35:12 -0600, ScottBerger
wrote:


I have a complex (x,y) data set equivalent to this simplified example:

Years Experience (x) vs. Workhours (y)
1.3, 7
4.0, 6
4.2, 9
4.5, 3
5.0, 9
5.5, 3
7.1, 3
9.5, 18

I want to produce a set of Experience data bins where the total number
of workhours is calculated within each Experience bin, for example:

1, 7
2, 0
3, 0
4, 18 (Sum of y values when x is between 4 and 5)
5, 12 (Sum y values when x is between 5 and 6)
6, 0
7, 3
8, 0
9, 18


Any help would be greatly appreciated.

Scott


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
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
populating sheets based on data from parent sheets seve Excel Discussion (Misc queries) 2 January 15th 05 09:22 PM
project values based on other values Gabriele Excel Discussion (Misc queries) 1 January 7th 05 09:27 AM
Newbie to charts question - projecting values between data points 38N90W Excel Discussion (Misc queries) 3 January 6th 05 05:15 AM
Selecting data from a list based on entered values GrantM Excel Discussion (Misc queries) 1 December 20th 04 10:59 AM


All times are GMT +1. The time now is 06:56 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"