+ Reply to Thread
Results 1 to 3 of 3

Calculating Index past 3/6/12 months accross years

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    Geneva
    MS-Off Ver
    Excel 2010
    Posts
    14

    Calculating Index past 3/6/12 months accross years

    PXM.xlsx

    Dear All,

    I'm looking for some brilliant help as I'm stuck with an exercise that I need to do in a pivot table.

    I attached a file to help you visualize my issue. What I'm trying to achieve is to calculate some Index Year Ago for the past 3 months, 6 months, 12 months. You can see in column R to W how I would need to see it (but in a pivot format). This file is just to give you an idea as in my case I have 20 countries, 15 brands, many other criterias and around 100K lines

    The different problems I'm facing are:
    - My P3 months are also part of my P6 months and P12 months. When I create a pivot to calculate my Index (logic of the formula written in Column O and P) it's not working as I have my different years in different column which have no value.
    - My P6 calculation would be actually only month 4, 5 and 6. I would need to sum P3 + P6 to have the right figures (same logic for P12).
    - If I have everything under only one column, my P3 becomes the sum of 2015 + 2016 which is not what I want to see.
    - If I call the 2015 month something like P3 Year ago, then again in the pivot it's not working as it will do the sum of empty column.

    I tried to turn this problem upside down but no matter with which approach I tackle it I always get stucked somewhere.

    I acknowledge that this might not be crystal clear but I tried to summarize it to my best. Hopefully somebody will be able to help me here.
    Thanks in advance to everybody.

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2015
    Location
    Nowy Tomysl, Poland
    MS-Off Ver
    2019, O365
    Posts
    398

    Re: Calculating Index past 3/6/12 months accross years

    Hi
    See whether such an arrangement is good
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-26-2012
    Location
    Geneva
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Calculating Index past 3/6/12 months accross years

    Hi Stasinek,

    thanks for your input. I used some the logic and finally got to my own methodology.
    Thanks for spending some time on it.

+ 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. [SOLVED] Calculating Years of Service in YEARS and MONTHS
    By joliver in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 10-07-2013, 10:22 AM
  2. [SOLVED] calculating months and years
    By Locopete99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2013, 06:51 AM
  3. [SOLVED] Trouble calculating age in Years and Months
    By Johnmitch93 in forum Excel General
    Replies: 3
    Last Post: 03-29-2012, 05:42 PM
  4. calculating the age in years and months
    By diltselizabeth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2009, 04:36 AM
  5. Replies: 15
    Last Post: 12-09-2006, 05:27 PM
  6. [SOLVED] Calculating Rents and Months past in 1 cell???
    By Ricardo Barroso in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2006, 02:30 PM
  7. Calculating rents and months past in 1 cell???
    By Ricardo Barroso in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-28-2006, 12:58 PM
  8. Calculating rents and months past in 1 cell???
    By Ricardo Barroso in forum Excel General
    Replies: 1
    Last Post: 06-28-2006, 10:30 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