+ Reply to Thread
Results 1 to 3 of 3

Adding columns based on start column and number of columns...

  1. #1
    Registered User
    Join Date
    11-09-2017
    Location
    Canberra, Aus
    MS-Off Ver
    10
    Posts
    2

    Adding columns based on start column and number of columns...

    Hi,

    I want a formula that adds each column from Start to a specified number of columns.

    So:

    Number = 2

    S
    1 2 3 4
    A 1 2 3 = 5
    B 1 2 3 = 5
    C 1 2 3 = 5

    So if we start at column 3 and the number is 2 then it would show as above or:

    Number = 2

    S
    1 2 3 4
    A 1 2 3 = 3
    B 1 2 3 = 3
    C 1 2 3 = 3

    If we start at column 2 and the number is 2 then it would be as above this.

    Or:

    Number = 1

    S
    1 2 3 4
    A 1 2 3 = 2
    B 1 2 3 = 2
    C 1 2 3 = 2




    I hope that makes sense!

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Adding columns based on start column and number of columns...

    That should make more sense if you can post a dummy file! I can not locate which data is in which column.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Registered User
    Join Date
    11-09-2017
    Location
    Canberra, Aus
    MS-Off Ver
    10
    Posts
    2

    Re: Adding columns based on start column and number of columns...

    Thanks, I actually solved it using CELLK5 =SUM(OFFSET(A3,2,(MATCH("Start",$A$3:$J$3,0)-1),1,$K$3))

    Capture.PNG

+ 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: 6
    Last Post: 11-25-2015, 01:01 PM
  2. sorting columns based on row criteria, with variable number of columns
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-02-2014, 04:02 PM
  3. Adding columns based off of adjacent columns.
    By smsulliva in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2013, 12:26 PM
  4. [SOLVED] Merging two tabs and automatically adding columns based on the first column
    By amyqueen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2013, 04:41 PM
  5. Count Number of occurences Across Columns based on Similar Column Headers
    By vidyuthrajesh in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2013, 06:42 PM
  6. Replies: 2
    Last Post: 05-19-2013, 03:59 AM
  7. Replies: 1
    Last Post: 12-27-2010, 07:10 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