+ Reply to Thread
Results 1 to 5 of 5

Only roll one item in formula

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Only roll one item in formula

    When copying the formula =SUMIFS(G3:G103,I3:I103,"3") how do I modify it so that only the "3" rolls to the next integer and the rest of the formula remains constant? In other words the 3 would roll to a 4 when copied down a column and the rest of the formula does not change?

  2. #2
    Forum Guru XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,741

    Re: Only roll one item in formula

    Hi,

    Presume you mean rather "when copied down a row"?

    =SUMIFS($G$3:$G$103,$I$3:$I$103,ROWS($1:3))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Cheeky Forum Moderator Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Only roll one item in formula

    Assuming the formulas will begin in Row_5
    Try this
    =SUMIF($I$3:$I$103,ROW()-2,$G$3:$G$103)

    Adjust the negative adjustment to suit your situation

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    07-14-2013
    Location
    california
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: Only roll one item in formula

    Thanks for the response,
    Well it worked for the 1st section, but not if I use it in a second section.
    I collect the information in 100 row sections and the 1 or 2 or 3 etc. is a value I assign to a row within the 100 rows that this formula picks up and reflects in a cell that sums all the same values within the 100 row section.

  5. #5
    Forum Guru XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,741

    Re: Only roll one item in formula

    Then I think you need to upload an attachment and point out clearly your desired results in each 'section'.

    Regards

+ 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: 5
    Last Post: 11-19-2013, 09:14 AM
  2. Replies: 1
    Last Post: 10-09-2013, 11:44 AM
  3. Taking the next item in a list into 1 of 2 tables based on the previous item time
    By SoleAris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2011, 04:59 PM
  4. linking a list item or text item in a user form to a worksheet
    By ravergirl7216 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-03-2010, 03:43 AM
  5. [SOLVED] Need formula to calculate lenght of a roll. I have all info.
    By Marc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-01-2005, 01:55 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