group fields question
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Group Fields Question

Group Fields Question

resolvedResolved · Medium Priority · Version 2007

replyReply Fri 15 Oct 2010, 11:01Delegate Chris said...

Chris has attended:
Excel Advanced course

Group Fields Question

Hi There

I am analysing sales over 50 dates from 17th July to 14th October, and am trying to display in a line graph with Mothly sales as X axis.

I have created a pivot of the data, and selected "Group Fields" to months, but rather than getting Jan July 2009 and July 2010, it is adding all the values together giving me just "July". Is there a way to seperate the figures for different years so I can analyse them seperately?

Many thanks in advance

For upcoming training course dates see: Pricing & availability

replyReply Mon 18 Oct 2010, 13:09Trainer Rodney said...

RE: Group Fields Question

Hello Chris,

Hope you enjoyed your Microsoft Excel Advanced course with Best STL.

Thank you for your question regarding Grouping fields in a Pivot table. I have created a sample file containing some data which may resemble what you are looking for.

I have inserted dates from 17th July 2009 through to 11th August 2010 and then changed the date format to MMM YYYY using custom format settings. I then created a Pivot Table using the Month field in the Column area.

Selecting all the January 2009 fields I then clicked the Group selection button located in the Group section of the Options ribbon. I then changed the name from Group1 to Jul 2009. I then selected all the Aug 2009 fields and followed the same procedure until I had completed all the months. I then collapsed each group thus leaving me with the month and year totals.

Since you wanted the dates to be the category X axis I then moved the Month to the Row area and the product field to the Column area. I created a chart based on the resulting pivot data and found that a column chart seemed to work best for the data in my sheet.

Please examine my data sheet and see if this will help you.

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

Attached files...

GroupFields.xlsx

Mon 25 Oct 2010: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft excel 2003 vba courses and other Microsoft training courses.

Excel tip:

Freeze Rows and Columns to keep lables displayed

You can freeze rows and columns in your worksheet so they don't move.

This allows you to keep row and column labels displayed on your screen as you move through a large worksheet.

Click below and/or to the right of the cell(s) you want to freeze. (NB. Excel freezes ALL the rows above and ALL the columns to left of the selected cell)

Click on the 'Windows' menu and selct 'Freeze Panes'.

Lines appear in your worksheet. The required rows and columns are frozen and remain on your screen as you move through your worksheet.

To unfreeze rows and columns, click on 'Window' menu and select 'Unfreeze Panes'.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard