| View previous topic :: View next topic |
| Author |
Message |
Stabback Newbie

Joined: 21 Dec 2006 Posts: 2
|
Posted: Thu Dec 21, 2006 12:05 pm Post subject: Grouping data |
|
|
Hi there, I have a lot of data on a spreadsheet. It is set up that for every day that something happened it records a day and then how many things happened. For example:
3/21/2003 14
3/24/2003 6
3/25/2003 4
3/28/2003 3
This spreadsheet spans from 2003 to current. My problem is I wish to present the information grouped in months. Is there a function or any way to parse the spreadsheet and return the data such as
3/2003 52
4/2003 71
5/2003 47
Thanks for your help
-Josh |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2474 Location: 3rd Rock From The Sun
|
Posted: Thu Dec 21, 2006 2:23 pm Post subject: |
|
|
Josh:
Yes, grouping data ( in your case, by year and month ) is possible within Calc.
The process involves two steps:- DataPilot
- Outline - Group
In the first step ( DataPilot ):- Select all your data, including the column names, then from the Menu:
- Data -> DataPilot -> Start...
- Drag the Date Button to the Row Fields area
- Drag the Item Button ( or whatever name you used in your sheet ) to the Data Fields area
- Click More to determine the location you want the results in ( sheet name etc )
- Press OK
In the second step ( Outline - Group ):
- Select ANY date cell . . . press F12 ( OR from the Menu: Data -> Outline -> Group... )
- In the Group By section . . . click Intervals, and, Months and Years
- Press OK
The result will be what you are looking for.
I hope this helps, please be sure to let me / us know.
Sliderule |
|
| Back to top |
|
 |
Stabback Newbie

Joined: 21 Dec 2006 Posts: 2
|
Posted: Thu Dec 21, 2006 5:06 pm Post subject: |
|
|
Thanks, thats exactly what I wanted.  |
|
| Back to top |
|
 |
|