Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting Data for use in Pivot Chart

Status
Not open for further replies.

RockyD

Programmer
Jul 25, 2001
8
0
0
US
The users have requested automated charts/graphs on a set of data. I am fine with the charts but this request has me stumped. There is a set of data from a table that represents a number of months:

3
1
7
6
4
24
12

I need to sort this into groupings:

0-3
3-6
6-12, etc.

Then represent it in a pie-chart. What is the best way to do this? I know I can do it through code using an array, but there has to be a better way. Any help would be greatly appreciated.

Rocky
 
Group By and / or Partition. See POH (Plain Old Help).

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top