+ Reply to Thread
Results 1 to 12 of 12

Copying formulas to include cell references seven rows down

  1. #1
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Copying formulas to include cell references seven rows down

    In the attached file, inside cell J5, I have the formula =SUM(D11:D17), which reflects the value of 40. In cell J6, I would like the formula SUM(D18:D24) or an equivalent be inserted to reflect the value of 19. In cell J7, I would like the formula SUM(D25:D31) or an equivalent be inserted to reflect the value of 26. And, so on, so on, down column J. The idea is to create a dynamic table that will keep copying the cell references in the J column down as new values are entered into the B through F columns.

    Can this actually be done? I tried several different formula combination using concatenate functions but these don't work in SUM formulas.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Copying formulas to include cell references seven rows down

    Hi,

    Kindly check this.

    Punnam
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Copying formulas to include cell references seven rows down

    Punnam, thank you for your response. I added more data to the table and the formulas you added did not work. I'm not familiar with how these should work or what I must do to get them to work again.

    See the updated worksheet to see what I mean...
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Copying formulas to include cell references seven rows down

    Opps, just realized that the range only extended to row 59. I can adjust that but am wondering how can I make this more dynamic or able to expand as more data is added?

    This is a great piece of work. Very worthwhile addition, thank you!

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Copying formulas to include cell references seven rows down

    How about
    =SUMIFS(Table4[Correct],Table4[Date],">="&I4,Table4[Date],"<="&I4+7)

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Copying formulas to include cell references seven rows down

    Quote Originally Posted by Fluff13 View Post
    How about
    =SUMIFS(Table4[Correct],Table4[Date],">="&I4,Table4[Date],"<="&I4+7)
    Fluff13 that was a very nice observation I never notice that column.

    Punnam

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Copying formulas to include cell references seven rows down

    Thanks for the that & the Rep.

  8. #8
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Copying formulas to include cell references seven rows down

    Thank you Gents. Both are answers that can be applied to my project, depending in which direction I am able to go. I am grateful to know of this.
    This will be used for a good cause to benefit the special education field.

  9. #9
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Copying formulas to include cell references seven rows down

    I have a question about why Fluff13's formula caused the cell J13 to jump to a Correct sum of 71 when it should have summed to 40?
    For some unknown reason, it summed up two weeks worth of data (the week of 3/5/17 and the week of 3/12/17) when it should have summed just the week of 3/5/17.
    Did this happen at your end as well?

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Copying formulas to include cell references seven rows down

    Because on row 76 your dates jump backwards from 13th March to 7th March

  11. #11
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Copying formulas to include cell references seven rows down

    Aha, I see that now. Thanks for pointing that out.
    Need to remind myself to check often to make sure my data is clean and accurately placed.

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Copying formulas to include cell references seven rows down

    You're welcome.

+ 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. Stuck with copying formulas that include different worksheets.
    By debblsih in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2017, 05:09 AM
  2. Quick way of copying cell references but referecing different rows
    By TomP1988 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2015, 10:42 AM
  3. [SOLVED] Copying worksheets to include all ranges and formulas
    By damianberry in forum Excel General
    Replies: 4
    Last Post: 11-21-2012, 03:38 AM
  4. Copying Worksheets, Include Formulas
    By brharrii in forum Excel General
    Replies: 2
    Last Post: 09-06-2012, 03:37 PM
  5. Replies: 2
    Last Post: 12-08-2007, 09:29 PM
  6. copying formulas with different references
    By Karl in Springfield in forum Excel General
    Replies: 1
    Last Post: 07-28-2005, 11:05 AM
  7. Copying formulas without cell references changing
    By gijoe119 in forum Excel General
    Replies: 3
    Last Post: 03-24-2005, 09:51 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