+ Reply to Thread
Results 1 to 2 of 2

Is It Possible To Find/Replace Dates In Pivot Tables and Cell Formulas?

Hybrid View

ScotyB Is It Possible To... 10-09-2012, 06:49 AM
ScotyB Re: Is It Possible To... 10-13-2012, 03:37 AM
  1. #1
    Forum Contributor
    Join Date
    08-04-2010
    Location
    Adelaide, Australia
    MS-Off Ver
    Office 365
    Posts
    176

    Is It Possible To Find/Replace Dates In Pivot Tables and Cell Formulas?

    Greetings all,

    I have several worksheets with pivot tables to do various calculations for me and each of these pivot tables has a date filter to look between two specific dates (ie: 22 Jan 2012 and 21 Feb 2012) - is it possible to code a find/replace for the year component? There are so many pivots that I don't want to manually change the date filters each year so, can I replace the 2012 with say, 2014, or whatever year I need?

    And the question is the same for a range of cells containing COUNTIFS formulas where two of the conditions are related to dates? Can I do a find/replace within the cell formula?

    Cheers,

    AJ
    Always grateful for the help here - thanks.

  2. #2
    Forum Contributor
    Join Date
    08-04-2010
    Location
    Adelaide, Australia
    MS-Off Ver
    Office 365
    Posts
    176

    Re: Is It Possible To Find/Replace Dates In Pivot Tables and Cell Formulas?

    I just realised that I probably should have included at the least, an example of the cell formula, so here 'tis...

    =COUNTIFS(EvalDates,">=22/1/12",EvalDates,"<=21/2/12",Evaluations!$E:$E,$A$19)
    The cell range containing the formulas is C22:AP44 and each cell contains a nearly identical formula; the only thing that changes is the Evaluations! part...

    Will that help or would it be easier to upload a sample of my messy work? (I will need to strip out some data to make it generic)

    Cheers,

    AJ

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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