![]() |
#1
|
|||
|
|||
![]()
I have a spreadsheet with a large amount of data from which I create a pivot table for analysis.
In the data, one of the columns contains a date and from that date, I use a formula "=YEAR(A830)" and I have it formatted as "Number" However, when I use this field, in a pivot table, I get an incorrect answer (1905). In the sample attached, I should see 2018, 2019, 2020 and 2021. What am I doing wrong? Also, and for my edification, I would like to be able to use MONTH in the pivot table at some point. I currently use formula "=DATE(YEAR(A830),MONTH(A830),1)" and the cell is formatted as "MMM-YY". I suspect this is not the best way to get the desired result, especially for pivot table use. Thanks Tommy |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pivot Table Filter Issue | mikeinli | Excel | 1 | 09-23-2020 01:26 PM |
![]() |
salse | Excel | 1 | 06-08-2016 12:23 PM |
Excel pivot table with a DATE value field for some reason stops at a certain date | angie450 | Excel Programming | 2 | 08-19-2014 08:50 AM |
![]() |
ominae | Excel | 1 | 07-18-2014 01:40 AM |
Pivot Table Issue | Grovesy | Excel | 0 | 10-28-2012 09:08 PM |