+ Reply to Thread
Results 1 to 8 of 8

Concatenate Sum Range & MAX Formula

  1. #1
    Forum Contributor
    Join Date
    11-29-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    104

    Concatenate Sum Range & MAX Formula

    I have a column at the end of the table that sums a number of months.
    What I would like to do is have the formula adjust based on a seperate formula.

    Below might illustrate better than I am explaining:

    Current formula:
    Please Login or Register  to view this content.
    What I would like to do is make the "MARCH" piece dynamic based on a MAX date in a seperate table:
    Please Login or Register  to view this content.
    Here is what I have tried.
    Please Login or Register  to view this content.
    Where the cell "CB37" had the MAX formula listed above

    How can I concatenate the MAX formula, or the cell reference to accomplish this?

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Concatenate Sum Range & MAX Formula

    Please try =SUM(INDIRECT("Table1[@[JANUARY]:["&"CB37"&"]]"))

  3. #3
    Forum Contributor
    Join Date
    11-29-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    104

    Re: Concatenate Sum Range & MAX Formula

    That is sort of where I was heading:

    Please Login or Register  to view this content.
    I was trying to build the actual formula into the SUM, is that not a viable option?

    I am however getting a #REF! error with:
    Please Login or Register  to view this content.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Concatenate Sum Range & MAX Formula

    Please upload your sheet

  5. #5
    Forum Contributor
    Join Date
    11-29-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    104

    Re: Concatenate Sum Range & MAX Formula

    Here is what I have,
    I had to remove a good deal of info, so the problem is the same, but the cell reference has changed
    Attached Files Attached Files

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Concatenate Sum Range & MAX Formula

    Sorry, I add extra double quote to "CB37", please remove it
    =SUM(INDIRECT("Table1[@[JANUARY]:["&CB$37&"]]"))

    or as in your sheet
    =SUM(INDIRECT("Table1[@[JANUARY]:["&G$37&"]]"))

  7. #7
    Forum Contributor
    Join Date
    11-29-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    104

    Re: Concatenate Sum Range & MAX Formula

    This is GREAT!!

    I didn't think of this before, but can it reference a named range?

    So instead of "CB$37" its something like "SUM_THROUGH"?

    My thought is that I have other tables I going to use this formula on, and I'd like to have a cleaner way to refer to it?

  8. #8
    Forum Contributor
    Join Date
    11-29-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    104

    Re: Concatenate Sum Range & MAX Formula

    Sorry,
    It was as easy as:

    Please Login or Register  to view this content.
    Thank you again for your help!!

+ 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. Formula to concatenate date range based on several factors
    By bre_says in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2018, 12:54 PM
  2. [SOLVED] Using concatenate as the range in an SUMIF formula
    By antony moseley in forum Excel General
    Replies: 6
    Last Post: 11-20-2017, 03:50 PM
  3. [SOLVED] formula to concatenate bates range
    By Delta729 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-29-2017, 09:13 PM
  4. Need formula to concatenate of header value whereever of range having 1
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2016, 12:55 AM
  5. Replies: 9
    Last Post: 11-19-2014, 04:15 PM
  6. One formula to concatenate non-blank cells in a range?
    By leaning in forum Excel General
    Replies: 2
    Last Post: 10-17-2011, 09:49 AM
  7. User defined formula - concatenate range
    By Steve D in forum Excel General
    Replies: 4
    Last Post: 09-15-2005, 04: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