+ Reply to Thread
Results 1 to 6 of 6

How to copy formula pattern?

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Question How to copy formula pattern?

    Hi guys,

    See my spreadsheet attached.

    I wish to apply a sum of counting a week's worth of data to cells going down, per week. Is there an easy way I can get excel to copy the formula pattern i.e. =SUM(C2:C8), c9:c15, c16:22, etc.?

    I am trying to enter the formula in cell I7, and then I8, I9 and so on.

    Thank you.
    Attached Files Attached Files
    Thanks,

    R.



  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: How to copy formula pattern?

    I showed you how to do this in your previous thread:

    Excel 2016 (Windows) 32 bit
    H
    I
    J
    4
    Week 1
    =SUMIF($A$2:$A$23,H4,$C$2:$C$23)
    =SUMIF($A$2:$A$23,H4,$D$2:$D$23)
    Sheet: Sheet1

    Enter once and then drag copy down. You can make the ranges as long as you need.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: How to copy formula pattern?

    I have done it for you in the attached.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: How to copy formula pattern?

    Sorry Ali - I missed that! thanks again

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How to copy formula pattern?

    i4=SUM(OFFSET(C$2,ROWS(I$4:I4)*7-7,,7,))
    or
    i4=SUMIF($A$2:$A$23,$H4,C$2:C$23)
    Try this and copy across
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: How to copy formula pattern?

    No need for a volatile OFFSET formula here!!!

+ 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. Copy Formula pattern
    By miqureshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2016, 10:23 AM
  2. Copy a formula based on a pattern
    By jonnops in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-06-2015, 03:25 AM
  3. Copy down hypertext cell range pattern & cell reference formula pattern
    By Underexcelling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2014, 03:23 AM
  4. How to copy formula and it following a pattern?
    By salvi in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-22-2013, 03:23 AM
  5. formula to copy cells with a repeating pattern
    By jgaynor in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-20-2011, 09:58 AM

Tags for this Thread

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