+ Reply to Thread
Results 1 to 5 of 5

Indirect Function returning REF# when comparing a single cell across a sheet range

  1. #1
    Registered User
    Join Date
    12-15-2014
    Location
    US
    MS-Off Ver
    2014
    Posts
    6

    Indirect Function returning REF# when comparing a single cell across a sheet range

    Attached is my situation. In sheet A, cell A1 I have a function that looks for the largest value in cell A1 on sheets B through C. It works properly.

    I would like to be able to make that range (B through C) referenced from input cells, in the file shown as B2 as start and C2 as end. These simply contain B and C.

    My attempt among many is shown in A2. That is LARGE(INDIRECT("B2"&":"&"C2"&"!"&A1),1)
    however it always returns a REF# error. After checking the microsoft REF# errors, I have determined that it does not match any of the criteria for REF# they discuss. Any suggestions?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Indirect Function returning REF# when comparing a single cell across a sheet range

    Control+shift+enter, not just enter:

    =MAX(N(INDIRECT("'"&B2:C2&"'!A1")))

  3. #3
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Indirect Function returning REF# when comparing a single cell across a sheet range

    LARGE(INDIRECT(B2&":"&C2&"!A1"),1) this way
    i 've never heard that LARGE can work so

  4. #4
    Registered User
    Join Date
    12-15-2014
    Location
    US
    MS-Off Ver
    2014
    Posts
    6

    Re: Indirect Function returning REF# when comparing a single cell across a sheet range

    array solutions tend to take a long period of time, and for the number of times i am doing this on my spreadsheet i would like to avoid doing so.... What is the reason for LARGE(INDIRECT(B2&":"&C2&"!A1"),1) not working?
    Last edited by iestimated; 12-28-2014 at 01:52 PM.

  5. #5
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Indirect Function returning REF# when comparing a single cell across a sheet range

    Quote Originally Posted by iestimated View Post
    array solutions tend to take a long period of time, and for the number of times i am doing this on my spreadsheet i would like to avoid doing so....
    What you really should avoid is having zillions of INDIRECT calls...

    What is the reason for LARGE(INDIRECT(B2&":"&C2&"!A1"),1) not working?
    "B:C!A1" is what INDIRECT is fed with. This text does not construe a reference INDIRECT can evaluate.

    The suggestion I made feeds INDIRECT with text values {"'B'!A1","'C'!A1"} INDIRECT can interpret as proper references.

+ 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: 4
    Last Post: 08-04-2014, 04:48 AM
  2. Replies: 3
    Last Post: 10-04-2013, 05:20 PM
  3. Indirect function not returning correct value
    By iamskippy in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-16-2013, 04:28 PM
  4. Returning single cell value looking at range across multiple sheets
    By bumpcity76 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-17-2006, 05:13 PM
  5. indirect function to reference cell on different sheet
    By Dolemite in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-06-2005, 07: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