+ Reply to Thread
Results 1 to 4 of 4

Automatic update of date criteria in excel formula pulled from a Pivot table

  1. #1
    Registered User
    Join Date
    08-24-2017
    Location
    Tennessee, USA
    MS-Off Ver
    Office 2013
    Posts
    11

    Automatic update of date criteria in excel formula pulled from a Pivot table

    =GETPIVOTDATA("Count of Case #",'export data'!$AB$38,"FH Name","City-State","Month-Year",DATE(2019,5,1))

    Is there a way to have the formula recognize the date field in the Pivot table (2019,5,1); without having to update it each month. For this formula, I updated the 4 (april) to a 5 for May. I would like to automate this monthly task if possible on several spreadsheets

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Automatic update of date criteria in excel formula pulled from a Pivot table

    You could simply enter the date in a cell and refer to that from the GETPIVOTDATA formula(s).
    Rory

  3. #3
    Registered User
    Join Date
    08-24-2017
    Location
    Tennessee, USA
    MS-Off Ver
    Office 2013
    Posts
    11

    Re: Automatic update of date criteria in excel formula pulled from a Pivot table

    Tried that but it didnt seem to work; maybe i am typing the formula incorrectly...

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Automatic update of date criteria in excel formula pulled from a Pivot table

    What exactly did you try, what happened, and what was in the cell you used as a reference?

+ 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. Excel VBA code to update a Pivot Table using date in cell
    By kbrose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2018, 02:19 AM
  2. [SOLVED] Pivot table data pulled collected together need to expand
    By motorhomer in forum Excel Charting & Pivots
    Replies: 14
    Last Post: 04-10-2018, 06:02 AM
  3. Formula for automatic date update?
    By Rpatel1974 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-22-2014, 12:02 PM
  4. Automatic summary table update not using pivot chart
    By kheino1111 in forum Excel General
    Replies: 1
    Last Post: 04-01-2014, 12:34 AM
  5. [SOLVED] Macro to update pivot item (date format) in pivot table to latest date from data source.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 03:18 AM
  6. Automatic update of Pivot Table based on filtered data
    By humacdeep in forum Excel General
    Replies: 4
    Last Post: 02-08-2012, 06:43 AM
  7. Macro code to update Pivot table based on criteria
    By wish2excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-30-2010, 05:44 AM

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