Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Help on Pivot Table

Hello:

I have a case that the pivot table's source data from the column that
was in month. I have try to use this data in pivot table it show the
format was not that I expected. May I know how can I correct it?

Date Month Units
02-Jan-2008 January-2008 234
08-Jun-2008 June-2008 5
21-Apr-2008 April-2008 235
16-Aug-2008 August-2008 34
26-Aug-2008 August-2008 6
26-Jul-2008 July-2008 6
29-Apr-2008 April-2008 34
13-Apr-2008 April-2008 6


I expect the pivot table result like this. How can I do?
Row Labels Sum of Units
April-2008 275
August-2008 40
January-2008 234
July-2008 6
June-2008 5
Grand Total 560




Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Help on Pivot Table

before creating pivot table

use helping column C

Col A - date
Col B - month
Col C ( helping column ) put this formula and drag it down =TEXT
(A2,"MMM")
Col D - units

Now, Go to tools | options | custom list | list entries :Apr
Aug
Dec
Feb
Jan
Jul
Jun
Mar
May
Nov
Oct
Sep Click Add | ok |

And now go to data | pivot table...... | range A1:D10 | next | click
layout | helper column in row data | units are in data field | ok

Select the cell | go to data | sort | click options | select the first
key sort order : Apr,Aug,Dec,Feb........ | ok | ok




On Dec 1, 8:47*am, Blue Fish wrote:
Hello:

I have a case that the pivot table's source data from the column that
was in month. I have try to use this data in pivot table it show the
format was not that I expected. May I know how can I correct it?

Date * *Month * Units
02-Jan-2008 * * January-2008 * *234
08-Jun-2008 * * June-2008 * * * 5
21-Apr-2008 * * April-2008 * * *235
16-Aug-2008 * * August-2008 * * 34
26-Aug-2008 * * August-2008 * * 6
26-Jul-2008 * * July-2008 * * * 6
29-Apr-2008 * * April-2008 * * *34
13-Apr-2008 * * April-2008 * * *6

I expect the pivot table result like this. How can I do?
Row Labels * * *Sum of Units
April-2008 * * *275
August-2008 * * 40
January-2008 * *234
July-2008 * * * 6
June-2008 * * * 5
Grand Total * * 560

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Help on Pivot Table

If you just enter the "month" & "year" in month column (B), excel will
automatically insert Day 1st for that month, so you may not need to do the
text function to extract the month in dummy column.

Use Pivot table and put [Unit] field in the right-hand corner or Value
section in pivot table. Then put the [Month] field in Row Label column which
in the left hand side.

Hope it helps.

Thank you.


"Blue Fish" wrote:

Hello:

I have a case that the pivot table's source data from the column that
was in month. I have try to use this data in pivot table it show the
format was not that I expected. May I know how can I correct it?

Date Month Units
02-Jan-2008 January-2008 234
08-Jun-2008 June-2008 5
21-Apr-2008 April-2008 235
16-Aug-2008 August-2008 34
26-Aug-2008 August-2008 6
26-Jul-2008 July-2008 6
29-Apr-2008 April-2008 34
13-Apr-2008 April-2008 6


I expect the pivot table result like this. How can I do?
Row Labels Sum of Units
April-2008 275
August-2008 40
January-2008 234
July-2008 6
June-2008 5
Grand Total 560




Thanks!

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
how to create pivot table from existing pivot table in excel 2007 Udayraj Dhulekar Excel Discussion (Misc queries) 2 July 8th 13 08:22 PM
Copying values from pivot table to cells outside pivot table richzip Excel Discussion (Misc queries) 4 January 16th 08 11:03 PM
Filter lines with Pivot table and non pivot table columns Grover Charts and Charting in Excel 4 September 28th 07 03:16 AM
Filter lines with Pivot table and non Pivot table columns Grover Excel Discussion (Misc queries) 1 September 26th 07 12:48 AM
Filter lines containing pivot table and non pivot table data Grover Excel Worksheet Functions 0 September 24th 07 07:20 PM


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