+ Reply to Thread
Results 1 to 7 of 7

Indirect not working with array formula?

  1. #1
    Registered User
    Join Date
    03-26-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question Indirect not working with array formula?

    Hi everyone,

    Appreciate if anyone could help me with this. I'm stuck at this for days now.
    My final goal is to get the INDIRECT formula working so I can setup DATA VALIDATION (list) with it. I want to have a dependent drop down list which leaves out blanks and sort the items in drop down list alphabetically.

    I am trying to get INDIRECT to work with my formula.

    Let's say in cell A1, I have a set of formula which results in the following text:
    Please Login or Register  to view this content.
    Notice that the range above is dynamic depending on what input I key into my first drop down list.

    Please Login or Register  to view this content.

    Now, in other cell, I put in the following:
    Please Login or Register  to view this content.
    This is the code that I would ultimately use to put in my second (dependent) drop down.

    Is there other way to make it work? Thank you in advance

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Indirect not working with array formula?

    Have you tried it in a drop down?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    03-26-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Indirect not working with array formula?

    Quote Originally Posted by Norie View Post
    Have you tried it in a drop down?
    Yep. I tried both using cell and drop down. Drop down gives me error and blank list, while cell gives if #REF! error.

  4. #4
    Registered User
    Join Date
    03-26-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Indirect not working with array formula?

    The file I am currently working on:
    Example - Copy2.zip

    Please ignore the mess.

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Indirect not working with array formula?

    I'm sorry but I can't see what the problem is.

    When I try and evaluate the formulas I end up with REF# errors.

    Have you tried using Named ranges?

    That's what's usually used with dependent data validation

  6. #6
    Registered User
    Join Date
    03-26-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Indirect not working with array formula?

    Quote Originally Posted by Norie View Post
    I'm sorry but I can't see what the problem is.

    When I try and evaluate the formulas I end up with REF# errors.

    Have you tried using Named ranges?

    That's what's usually used with dependent data validation
    Not yet. Probably it would work, but due to the different possible entries, there could be MANY items in the first drop down list, which means that I will need to make hundreds of named range for it to work. :/

    Oh, could anyone change the title of the post for me? It should be "Indirect not working with dynamic range?" instead.

  7. #7
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Indirect not working with array formula?

    Head over to Jerry Beaucaire's Excel Assistant page and take a look at some of the methods he has developed for Data Validation.

    The file list is ascending order, so scroll down to the "D" section and see if any of those are helpful.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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