+ Reply to Thread
Results 1 to 3 of 3

formula with a pattern - how to?

  1. #1
    Registered User
    Join Date
    08-22-2014
    Location
    Amsterdam, Holland
    MS-Off Ver
    mac2011
    Posts
    2

    formula with a pattern - how to?

    Hi, I am putting a dashboard together and I get stuck with what I thought was a matter of drag down formula once I put some kind of pattern in the rows. Could somebody please explain to me, as I cannot find an answer, on how to copy the following formula pattern down X number of rows?

    =SUM(data!O6:O12)/(SUM(data!C6:C12)+SUM(data!E6:E12))
    =SUM(data!O13:O19)/(SUM(data!C13:C19)+SUM(data!E13:E19))
    =SUM(data!O20:O26)/(SUM(data!C20:C26)+SUM(data!E20:E26))

    If I simply drag down these three formulas, they will just add 1 to the number from the previous number in the formula (hope that makes sense). And that is not what I want/ need.

    Thank you in advance for your help - I am grateful.

  2. #2
    Registered User
    Join Date
    07-30-2011
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    83

    Re: formula with a pattern - how to?

    Use the INDIRECT function to allow for formula determinations of your sum ranges. OFFSET could also be used. Once you've got the concept of a formula to set the sum range, I used the ROW() function to act as the counter. In my example, this starts in row 1, so ROW() returns 1 (6 + 7*(1-1)) = 6, and when dragged into second row, would return (6+7*(2-1)) = 13.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-22-2014
    Location
    Amsterdam, Holland
    MS-Off Ver
    mac2011
    Posts
    2

    Re: formula with a pattern - how to?

    Thank you very much @Yogi52o. It seems to work. I will have more of this formulas to put together so it will be a great test and good way to learn something.

    Quote Originally Posted by Yogi52o View Post
    Use the INDIRECT function to allow for formula determinations of your sum ranges. OFFSET could also be used. Once you've got the concept of a formula to set the sum range, I used the ROW() function to act as the counter. In my example, this starts in row 1, so ROW() returns 1 (6 + 7*(1-1)) = 6, and when dragged into second row, would return (6+7*(2-1)) = 13.

    Please Login or Register  to view this content.

+ 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 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
  2. [SOLVED] IF formula pattern
    By blaugrana9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-28-2013, 09:33 AM
  3. [SOLVED] Copying a formula with that follows a pattern
    By Animosity in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-22-2013, 12:19 PM
  4. [SOLVED] Pattern Formula?
    By sixwest in forum Excel General
    Replies: 3
    Last Post: 09-13-2005, 12:05 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