+ Reply to Thread
Results 1 to 4 of 4

MAX and INDIRECT forumla

  1. #1
    Registered User
    Join Date
    03-05-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    MAX and INDIRECT forumla

    I am trying to use the formula MAX(A1:A100) where both the cell references are in fact results of other formulas ie A1 is actually this...

    (code in cell AH29)
    Please Login or Register  to view this content.
    and A100 is actually this...

    (code in cell AG29)
    Please Login or Register  to view this content.
    At the suggestion of another user, I've got the following

    Please Login or Register  to view this content.
    which gives me the max between cell J16 and the cell referenced in AG29, but what I would like to do it have both the two cells at either end of the range (J16 in this case) the result of an indirect or similar.

    Any thoughts about how to make my MAX formula? If you need more to re-word this, let me know!

    To summarise, I want a MAX formula, where both cell references are results of other formulas. How do I achieve this?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: MAX and INDIRECT forumla

    You've been originally given an INDIRECT() formula that shows how to hardcode part of the string and then retrieve the other half from a cell. Did you try making both halves of your formula use the syntax of the second half?

    =MAX(INDIRECT(AH29 & ":" & AG29))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-05-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: MAX and INDIRECT forumla

    I've figured out how to do it.. will post again in a little bit to explain how.. Just wanted to make sure none of you hard-working intelligent people are trying to solve it on my behalf!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: MAX and INDIRECT forumla

    Did your solution differ from the one I suggested in post #2? Always remember to post solutions in your thread(s) when you self-solve.

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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