K
katy
I have a table of data, which lists details of events. Column D contains the
date of the event (dd/mm/yyyy). I am using pivot tables to summarise the data
in various ways. One thing I would like to do is have a pivot table to show
the number of events per region per year.
I know I can do this by adding a new column ("Year") to my data table,
containing the formula =year(D2), and then use Year as the column field in my
pivot table (with Region as the row field)
BUT can I create a calculated field (or Item??) in the pivot table so that I
don't have to insert the additional column in my data table?
If I select Formulas > Calculated Field from the Pivot Table menu, I can
create a new field (Name: Year. Formula: =year(Date)), but then when I try to
drag that field to the column area of my pivot table it tells me "The field
you are moving cannot be placed in that PivotTable area"
Is there a way to do summarise my data by year, without having to have the
additional Year column in my data table? (I know I could use Date as the
column heading in the Pivot, but this creates a very wide table, and it's
pain to then have to select every 2007 date and then Group them together!)
Thanks
Katy
date of the event (dd/mm/yyyy). I am using pivot tables to summarise the data
in various ways. One thing I would like to do is have a pivot table to show
the number of events per region per year.
I know I can do this by adding a new column ("Year") to my data table,
containing the formula =year(D2), and then use Year as the column field in my
pivot table (with Region as the row field)
BUT can I create a calculated field (or Item??) in the pivot table so that I
don't have to insert the additional column in my data table?
If I select Formulas > Calculated Field from the Pivot Table menu, I can
create a new field (Name: Year. Formula: =year(Date)), but then when I try to
drag that field to the column area of my pivot table it tells me "The field
you are moving cannot be placed in that PivotTable area"
Is there a way to do summarise my data by year, without having to have the
additional Year column in my data table? (I know I could use Date as the
column heading in the Pivot, but this creates a very wide table, and it's
pain to then have to select every 2007 date and then Group them together!)
Thanks
Katy