+ Reply to Thread
Results 1 to 10 of 10

Max Indirect Function

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    5

    Max Indirect Function

    Hello,

    I have the following function =MAX(INDIRECT”B1:F1”)). When I copy/drag this formula down, B1:F1 stay the same. I need it to change and become B2:F2, etc.

    Thanks for you help!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Max Indirect Function

    =MAX(INDIRECT”B1:F1”))

    Does this (it) work for you?

    Please show it in an excel file, without confidential information.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Max Indirect Function

    Why not just
    =MAX(B1:F1)

    Why the use of Indirect?

  4. #4
    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,946

    Re: Max Indirect Function

    Hi and welcome to the forum

    maybe this?
    =MAX(INDIRECT”B"&row(a1)&":F"&row(a1)))
    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

  5. #5
    Registered User
    Join Date
    09-17-2013
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Max Indirect Function

    I have included an attachment. That formula works, but doesn't work when I copy it down the column. The cell highlighted in yellow should be 6.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-17-2013
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Max Indirect Function

    When we add columns to the spreadsheet the range changes.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Max Indirect Function

    Try
    =MAX(INDIRECT("B" &ROW()&":F"&ROW()))

  8. #8
    Registered User
    Join Date
    09-17-2013
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Max Indirect Function

    I get an error when I try this formula.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Max Indirect Function

    You can use the formulat of Jonmo1.

    I tested the formula, and of course it works.

  10. #10
    Registered User
    Join Date
    09-17-2013
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Max Indirect Function

    You are correct. It works. 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. [SOLVED] Combining Text Function with Indirect Function
    By ninmjj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2013, 10:34 AM
  2. [SOLVED] Help with SUM and INDIRECT Function
    By Kinez101 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 08:57 AM
  3. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  4. [SOLVED] Using ROW function inside of both an Indirect and Index function returns #VALUE
    By xandermacleod in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-11-2012, 06:22 PM
  5. MATCH function within INDIRECT function not working
    By mgerada in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 08:37 AM

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