+ Reply to Thread
Results 1 to 6 of 6

Need help on using the offset function for monthly data changing yearly

  1. #1
    Registered User
    Join Date
    08-25-2016
    Location
    Zimbabwe
    MS-Off Ver
    2010
    Posts
    3

    Need help on using the offset function for monthly data changing yearly

    Good day,I have a 10 year monthly model with a number of worksheets. I would like a variable on my offset function to change after every year,to be specific, the syntax is: Offset(Input!$b$23,0,MONTH(Output!c2))*Input$h$24...I would like h24 to change to I24 after one year i.e 12 months can anyone help?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,945

    Re: Need help on using the offset function for monthly data changing yearly

    You could change Input!$H$24 to be something like

    INDEX(Input!$H$24:$Z$24,Year(some cell) - 2015)

    But without the specifics it is hard to say exactly how to fix it....
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    08-25-2016
    Location
    Zimbabwe
    MS-Off Ver
    2010
    Posts
    3

    Re: Need help on using the offset function for monthly data changing yearly

    EXCEL.PNGExcel2.PNG
    Ok thank you,I have attached screen shots of the work, the yearly assumptions are in blue and on the second shot you have the monthly data that needs to match that particular year's yearly planting area.I hope its clear...

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,945

    Re: Need help on using the offset function for monthly data changing yearly

    What values would you want in those cells?

  5. #5
    Registered User
    Join Date
    08-25-2016
    Location
    Zimbabwe
    MS-Off Ver
    2010
    Posts
    3

    Re: Need help on using the offset function for monthly data changing yearly

    I would want the different proportions of area planted (planting) given in row 23 on the Assumptions tab(not shown) multiplied by the hectares planted given in row 26 of the Assumptions tab as shown on the snippet. Now the offset function works fine for this but what I want is for the figure of the planted area to change(given in row 26) when I get to the month of July in each new year to assume the value of the area planted in that year maintaining the proportions adopted from row 23 in the Assumptions tab as I drag the formula without manually copying and editing it,something like a when loop (if there's something like that)

  6. #6
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,945

    Re: Need help on using the offset function for monthly data changing yearly

    We can use the month and year from the date cell, but I really need numeric examples: this * that * this other value, but when this cell changes to this date, then I want this * that * this completely other cell. I see values labelled 2016, 2017, etc, but nothing labelled 2015.....

+ 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. Converting yearly data to monthly
    By MilicaMatovic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2016, 06:59 PM
  2. Converting weekly to monthly data and Yearly data to monthly
    By MilicaMatovic in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-29-2016, 09:48 AM
  3. how to best organize Daily. Monthly, and yearly data???
    By JonTaylor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-08-2015, 01:33 AM
  4. Replies: 3
    Last Post: 08-20-2014, 12:19 PM
  5. Converting a daily data to a monthly or yearly one
    By rimajed in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-25-2012, 03:14 AM
  6. Converting monthly data into yearly averages
    By alcleland in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-14-2008, 08:34 AM
  7. [SOLVED] OFFSET function to pick up monthly groups of data
    By Gary T in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2005, 11:06 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