+ Reply to Thread
Results 1 to 2 of 2

Pivot Tabel Custom Date Filter "before or equal to: This Date Last Year

  1. #1
    Registered User
    Join Date
    08-03-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    8

    Pivot Tabel Custom Date Filter "before or equal to: This Date Last Year

    Hello all,

    Using a Pivot Table to look at all Confirmed Records last year. I need to add a Custom Date filter in the Pivot Table that says show all records where the Confirmed Date is "before or equal to" this date last year.

    How do I either:
    1) In the Custom Date Filter reference a cell on the sheetwith the Date
    2) In the Custom Date Filter put in a formula to reference this Date last year.

    Essentially how do I use this formula in a Pivot Table Custom Date Filter : "=DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY()))"

    Thank you all for your help!!!!!!
    Last edited by MrMims82; 02-27-2019 at 03:45 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Pivot Tabel Custom Date Filter "before or equal to: This Date Last Year

    Hi MrMims,

    I think you are going to need some VBA to do this problem. Something like:

    Please Login or Register  to view this content.
    VBA Pivot Filter since 365 days ago.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. vba script help for pivot table date filter - "Before"
    By nij in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2017, 06:23 AM
  2. Pivot Filter not allowing filter by year, month and date
    By Steve aka Munky in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 02-17-2017, 11:47 AM
  3. Replies: 0
    Last Post: 11-23-2015, 04:50 AM
  4. Date Filter by year and month in Pivot Table
    By irajeev in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-03-2015, 12:10 AM
  5. how to get month out of pivot tabel that contain date
    By vietdieu in forum Excel General
    Replies: 3
    Last Post: 02-10-2012, 12:00 AM
  6. Custom date filter for a pivot table in XL2007
    By IM2HARD2RESIST in forum Excel General
    Replies: 1
    Last Post: 12-03-2009, 01:10 PM
  7. [SOLVED] Setting up "Year to Date" Calculations in a Pivot Table
    By Project64 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2005, 10:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1