+ Reply to Thread
Results 1 to 3 of 3

Formula for "Last 9 months accumulated result" depending on report month choosen

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    Uddevalla, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    34

    Question Formula for "Last 9 months accumulated result" depending on report month choosen

    In enclosed xlsx-file I have monthly results for 24 months. I would like to have a formula in a column calculating the "Last 9 months accumulated result" depending on choosen report month (choosen in a separate cell). Have done similar with INDEX + OFFSET I Think, but don´t get this working . In enclosed file you will see the data and desired solution.QuestionExcelforum.xlsx

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Formula for "Last 9 months accumulated result" depending on report month choosen

    Try
    E4=OFFSET($A$3,MATCH($B$1,$A$4:$A$27,0),3,COUNTIFS($A$4:A4,$B$1)-10,)+IF(ISERROR(E3),0,E3)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by shukla.ankur281190; 10-08-2015 at 06:41 AM.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula for "Last 9 months accumulated result" depending on report month choosen

    hi toblju. not really sure what is the goal. is it just 1 figure of the last 9 months?
    =SUMIFS($D$4:$D$27,$A$4:$A$27,"<="&B1,$A$4:$A$27,">"&EOMONTH(B1,-11)+1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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] Making one of two sounds depending on the result of a "if" function
    By pierre86 in forum Excel General
    Replies: 6
    Last Post: 01-11-2015, 08:21 PM
  2. [SOLVED] Excel 2007: How to Convert "5/2/2013" to "May" then subtract a Month so it's "Apr"
    By Golom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-19-2013, 02:00 AM
  3. Why is my Formula result = "True" rather than "False"
    By Mike Burns in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2012, 10:14 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. [SOLVED] how do i enable a drop down list depending on result of "if" funct
    By Varun in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-08-2006, 11:40 AM
  6. Replies: 1
    Last Post: 02-04-2006, 12:19 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