+ Reply to Thread
Results 1 to 6 of 6

Help Dragging a Formula with Cell Reference Greater than 1

  1. #1
    Registered User
    Join Date
    05-07-2019
    Location
    maryland
    MS-Off Ver
    365 ProPlus, Version 1904
    Posts
    6

    Help Dragging a Formula with Cell Reference Greater than 1

    I have a worksheet with two tabs, T-Requests and Weekly Totals. The T-Requests tab has daily data for every day. On the weekly totals tab, I have cells set up for each week and need them to sum up a specific week's data from the T-Requests tab. My problem is on the Weekly Totals tab, I want to drag the formulas to all of the weeks so I don't have to individually change a cell's formula 52 times. I've looked around Google and can't find exactly what I'm looking for. Can someone help? For example, here is how the formula will look for two adjacent cells:

    =SUM('Filing - Contracts'!F7:L7)+SUM('Filing - Title'!F7:L7) for the first cell
    =SUM('Filing - Contracts'!M7:S7)+SUM('Filing - Title'!M7:S7) for the adjacent cell, and so on....

    So, I just need a simpler way to increase the cell reference by 5 each time without having to manually change them

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help Dragging a Formula with Cell Reference Greater than 1

    Are you dragging down or across?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help Dragging a Formula with Cell Reference Greater than 1

    Assuming you are dragging down, try something like this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-07-2019
    Location
    maryland
    MS-Off Ver
    365 ProPlus, Version 1904
    Posts
    6

    Re: Help Dragging a Formula with Cell Reference Greater than 1

    Quote Originally Posted by ChemistB View Post
    Assuming you are dragging down, try something like this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks for the help. I'm actually dragging across, so how would that change it?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help Dragging a Formula with Cell Reference Greater than 1

    =SUM(OFFSET('Filing - Contracts'!$F$7:$L$7, 0,(COLUMNS($B$1:B$1)-1)*5))+SUM(OFFSET('Filing - Title'!$F$7:$L$7,0,(COLUMNS($B$1:B$1)-1)*5))
    Changed "Rows" to "Columns" and modified the anchors.

  6. #6
    Registered User
    Join Date
    05-07-2019
    Location
    maryland
    MS-Off Ver
    365 ProPlus, Version 1904
    Posts
    6

    Re: Help Dragging a Formula with Cell Reference Greater than 1

    Quote Originally Posted by ChemistB View Post
    =SUM(OFFSET('Filing - Contracts'!$F$7:$L$7, 0,(COLUMNS($B$1:B$1)-1)*5))+SUM(OFFSET('Filing - Title'!$F$7:$L$7,0,(COLUMNS($B$1:B$1)-1)*5))
    Changed "Rows" to "Columns" and modified the anchors.
    Awesome. That worked. Thank you

+ 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: 4
    Last Post: 08-22-2013, 07:31 AM
  2. How to skip a cell reference while dragging down a Hlookup formula
    By sbham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2013, 11:54 PM
  3. Dragging formula (cell reference) across columns
    By theraindew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2013, 01:51 PM
  4. Dragging formula, change sheet reference, but not cell reference
    By Kalilaya0419 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:50 PM
  5. Replies: 5
    Last Post: 09-21-2012, 02:08 PM
  6. Dragging down formula and cell reference
    By JDCONNER in forum Excel General
    Replies: 4
    Last Post: 09-30-2011, 05:05 PM
  7. Keep cell reference the same when dragging?
    By Zeus73 in forum Excel General
    Replies: 2
    Last Post: 06-02-2011, 09:23 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