+ Reply to Thread
Results 1 to 2 of 2

YTD Sum on a Pivot Table

  1. #1
    Registered User
    Join Date
    01-27-2015
    Location
    Peterborough
    MS-Off Ver
    2007
    Posts
    1

    YTD Sum on a Pivot Table

    I've been trying for a while now to write a formula that will allow to me to a YTD sum calculation on entries in a pivot table.

    In this example, I have weeks at the top in the pivot table and I want to be able to calculate YTD sales for each retailer by category. The Dashboard tab is what the user will see and is for Retailer 1, and they can change the week they are looking at using the drop-down in cell H2. I need a formula for F9 that will calculate the YTD sales based on the week chosen (18th Jan), and the data given in the Pivot tab (it's a pivot table in my file, I just copy-pasted values so I could change labels. Also as the weeks only go up until the end of January each year, this will increase every week as more data is added.

    As I am adding more retailers on a regular basis, simply manually entering the formula is not really an option since the position of each retailer in the table is likely to change.

    Anyone know if this is doable?
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,067

    Re: YTD Sum on a Pivot Table

    Ummm... Where's the Pivot Table?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

+ 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. Replies: 6
    Last Post: 07-31-2014, 12:56 PM
  2. Collapse/Expand - Pivot table Fields - Need equivalent option in Excel VBA Pivot table
    By ragavendraph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 03:00 PM
  3. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  4. Replies: 1
    Last Post: 06-20-2010, 04:00 AM
  5. Return pivot table range...not the data table, the PIVOT TABLE!
    By Air_Cooled_Nut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2008, 01:07 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