+ Reply to Thread
Results 1 to 5 of 5

OFFSET formula not working when dragged

  1. #1
    Registered User
    Join Date
    04-09-2009
    Location
    London
    MS-Off Ver
    Excel 2002
    Posts
    9

    OFFSET formula not working when dragged

    Hello all,

    I have an Excel sheet which contains a basic formula to divide a month total by 7 (to get a daily amount) and then it multiplies this by the number of days in the month.

    On the spreadsheet there is a blank column between each month and so dragging the formula does not work.

    I've created an OFFSET formula which takes into account the column in between each figure, but when I drag the formula it doesn't increase the number of columns from the reference cell. It should increase the number of columns by 2 each time.

    I hope this makes sense - I've attached a sample sheet which contains the data and formulas.

    Can anyone point me in the right direction?

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: OFFSET formula not working when dragged

    You could use:

    =INDEX($C$3:$I$3,MATCH(DATEVALUE("1-"&C7&"-2023"),$C$2:$I$2,0))/7*C6

    in C8 and copy across.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    04-09-2009
    Location
    London
    MS-Off Ver
    Excel 2002
    Posts
    9

    Re: OFFSET formula not working when dragged

    Thanks Rory,

    That looks like it will work. I'll need to adapt it for the 2024 dates but on the 2023 ones it works great.

    Many thanks

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: OFFSET formula not working when dragged

    It would be simpler/better if you could alter the headers in row 7 to be the actual dates in row 2, then just format them to show the month name, if preferred.
    Last edited by FlameRetired; 11-02-2022 at 04:41 PM.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2506
    Posts
    13,793

    Re: OFFSET formula not working when dragged

    Administrative Note:

    Members will tailor the solutions they offer to the version that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Dave

+ 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. OFFSET / ISBLANK Not Working in Array Formula??
    By Merf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2020, 10:02 PM
  2. [SOLVED] Offset formula not working together with if
    By SstixX in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2020, 12:18 PM
  3. Replies: 11
    Last Post: 11-29-2019, 12:43 AM
  4. Made some changes, formula stopped working (using MATCH and OFFSET)
    By new guy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2019, 11:00 PM
  5. Offset Formula - Not working
    By excelenergy in forum Excel General
    Replies: 3
    Last Post: 05-07-2015, 05:54 PM
  6. [SOLVED] Offset function across columns when dragged down rather than rows.
    By Xiophoid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2013, 05:33 PM
  7. [SOLVED] Offset, Index, Match formula with dates inconsistently working
    By David Brown in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2013, 04:12 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