Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 216
Default Grouping dates in pivot table by quarters

I created several pivot tables which contain information by month. In order
to reduce the number of months I would like to group them by quarters but
this does not work! I already checked the data base and chose yyyy/mm for
the data but still I get the message 'cannot group for this selection'. There
are no empty cells either. Anyone got an idea please?
I use excel 2002.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Grouping dates in pivot table by quarters

Hi Nadine

Grouping by Date fails if there are empty cells, or cells containing Text
values.
Although you say that you chose yyyy/mm as the format for the column, that
will not alter the underlying entries in the cells if they were entered as
text as opposed to true Excel dates.

To check, using a spare column on your sheet, enter
=ISNUMBER(A2) (assuming the data is in column A, adjust to suit)
Copy down as far as required.
If the values are Dates, the result will be TRUE. Check to ensure that all
are true.

--
Regards
Roger Govier

"Nadine" wrote in message
...
I created several pivot tables which contain information by month. In
order
to reduce the number of months I would like to group them by quarters but
this does not work! I already checked the data base and chose yyyy/mm for
the data but still I get the message 'cannot group for this selection'.
There
are no empty cells either. Anyone got an idea please?
I use excel 2002.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Grouping dates in pivot table by quarters

If you had a column added to your data, you could do a vlookup on a table
which had the date range for a quarter, or a table with months 1,2,3 in 1st
quarter,etc.
Steve

"Roger Govier" wrote:

Hi Nadine

Grouping by Date fails if there are empty cells, or cells containing Text
values.
Although you say that you chose yyyy/mm as the format for the column, that
will not alter the underlying entries in the cells if they were entered as
text as opposed to true Excel dates.

To check, using a spare column on your sheet, enter
=ISNUMBER(A2) (assuming the data is in column A, adjust to suit)
Copy down as far as required.
If the values are Dates, the result will be TRUE. Check to ensure that all
are true.

--
Regards
Roger Govier

"Nadine" wrote in message
...
I created several pivot tables which contain information by month. In
order
to reduce the number of months I would like to group them by quarters but
this does not work! I already checked the data base and chose yyyy/mm for
the data but still I get the message 'cannot group for this selection'.
There
are no empty cells either. Anyone got an idea please?
I use excel 2002.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 216
Default Grouping dates in pivot table by quarters



"Roger Govier" wrote:

Hi Nadine

Grouping by Date fails if there are empty cells, or cells containing Text
values.
Although you say that you chose yyyy/mm as the format for the column, that
will not alter the underlying entries in the cells if they were entered as
text as opposed to true Excel dates.

To check, using a spare column on your sheet, enter
=ISNUMBER(A2) (assuming the data is in column A, adjust to suit)
Copy down as far as required.
If the values are Dates, the result will be TRUE. Check to ensure that all
are true.

--
Regards
Roger Govier

"Nadine" wrote in message
...
I created several pivot tables which contain information by month. In
order
to reduce the number of months I would like to group them by quarters but
this does not work! I already checked the data base and chose yyyy/mm for
the data but still I get the message 'cannot group for this selection'.
There
are no empty cells either. Anyone got an idea please?
I use excel 2002.


Hello Roger,

You were right indeed! I tried out the formula =number and all the results
were 'not true'. I'll contact our ICT-service in order to try and change the
information into dates. Thank you very much!
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 216
Default Grouping dates in pivot table by quarters



"Steve" wrote:

If you had a column added to your data, you could do a vlookup on a table
which had the date range for a quarter, or a table with months 1,2,3 in 1st
quarter,etc.
Steve


Hi Steve,
This might indeed be an option but since the data covers different years, I
believe it would take too many entries in the formula...



"Roger Govier" wrote:

Hi Nadine

Grouping by Date fails if there are empty cells, or cells containing Text
values.
Although you say that you chose yyyy/mm as the format for the column, that
will not alter the underlying entries in the cells if they were entered as
text as opposed to true Excel dates.

To check, using a spare column on your sheet, enter
=ISNUMBER(A2) (assuming the data is in column A, adjust to suit)
Copy down as far as required.
If the values are Dates, the result will be TRUE. Check to ensure that all
are true.

--
Regards
Roger Govier

"Nadine" wrote in message
...
I created several pivot tables which contain information by month. In
order
to reduce the number of months I would like to group them by quarters but
this does not work! I already checked the data base and chose yyyy/mm for
the data but still I get the message 'cannot group for this selection'.
There
are no empty cells either. Anyone got an idea please?
I use excel 2002.



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
Change Quarters in Pivot Tables when grouping dates Jugglertwo Excel Discussion (Misc queries) 1 June 20th 07 08:20 PM
Grouping Dates in a Pivot Table mike Excel Worksheet Functions 1 May 9th 07 12:43 PM
Pivot Table - Grouping Dates Error stressed Excel Discussion (Misc queries) 6 March 8th 07 08:02 PM
Pivot Table Grouping by Quarters Gary Brown Excel Discussion (Misc queries) 3 March 29th 06 05:49 AM
Grouping dates in a pivot table Fred Smith Excel Worksheet Functions 2 March 15th 06 01:59 AM


All times are GMT +1. The time now is 01:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"