+ Reply to Thread
Results 1 to 10 of 10

Incremental Formula (Add every four cell of same row, adjacently)

  1. #1
    Registered User
    Join Date
    07-22-2016
    Location
    Riyadh
    MS-Off Ver
    MS Office
    Posts
    5

    Incremental Formula (Add every four cell of same row, adjacently)

    What I want:

    (example)

    Total of A1:D1 on Sheet2's A1
    Total of E1:H1 on Sheet2's B1
    Total of I1:L1 on Sheet2's C1
    Total of M1:P1 on Sheet2's D1
    .. and so on.....

    I think here "offset" function will work but not sure, how?
    Last edited by sajidbeg; 07-22-2016 at 10:33 AM. Reason: Using proper word! (adjacently)

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    Hi, welcome to the forum

    There may be a better to do this, can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-22-2016
    Location
    Riyadh
    MS-Off Ver
    MS Office
    Posts
    5

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    incremental formula.png

    I don't know how to upload 'workbook'

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    On Sheet2!A1 enter
    =SUM(Sheet1!A1:D1)
    On Sheet2!B1 enter this and fill across
    =SUM(OFFSET(Sheet1!$A$1,0,0,1,COLUMNS((Sheet1!$A$1:B1)-1)*4+0))-SUM(OFFSET(Sheet1!$A$1,0,0,1,COLUMNS((Sheet1!$A$1:A1)-1)*4+0))
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    Here is something much better than the first formulae that I first gave you.
    Enter in Sheet2!A1 and fill across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-22-2016
    Location
    Riyadh
    MS-Off Ver
    MS Office
    Posts
    5

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    That's so brilliant, newdoverman! Thank you very much!

  7. #7
    Registered User
    Join Date
    07-22-2016
    Location
    Riyadh
    MS-Off Ver
    MS Office
    Posts
    5

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    Additional help needed. Okay, it's working just toward right sided cells, fine! but how it could be possible if I need to fill the down cells? Sum blocks of 4.xlsx

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    This should do it.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-22-2016
    Location
    Riyadh
    MS-Off Ver
    MS Office
    Posts
    5

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    Yes! It's perfect. Thanks a lot.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Incremental Formula (Add every four cell of same row, adjacently)

    Thank you for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Incremental Changes Formula Help
    By Ignatius58 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-02-2015, 01:17 PM
  2. Replies: 3
    Last Post: 02-20-2014, 11:35 PM
  3. Replies: 11
    Last Post: 01-13-2013, 09:40 AM
  4. Incremental formula
    By Takau in forum Excel General
    Replies: 8
    Last Post: 09-28-2011, 11:44 AM
  5. 2.5 Incremental formula needed
    By usagis in forum Excel General
    Replies: 1
    Last Post: 08-03-2010, 04:47 AM
  6. Replies: 6
    Last Post: 07-19-2010, 10:22 AM
  7. Formula for incremental increase
    By alexrm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2005, 06:05 PM

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