Excel Indirect function under data validation

Anonymous
2014-06-30T20:13:35+00:00

Hi Execel expert

I am creating a very simple table to pull two lists from seperate excel sheet using data validation function.

I would like to pull the second list result based on the first list in the table using Indiect. But I am not able to do it. Excel keeps showing me  

"The source currently evaluates to an error". I recreate the lists, but still it is showing me the same error message. I dont know how I can fix it.

Ex: the first list is area

 APAC,GCR,WE,MEA

The second list is the contry under that area

China,Hongkong, Aurealia, Korea, etc.

Can anyone help?

Thanks

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2014-06-30T23:33:38+00:00

    Hi,

    For the INDIRECT() function to work, you have to first define Named Ranges.  You may also refer to my solution at this link - http://www.ashishmathur.com/secondary-validation-cell-entry-to-update-when-primary-validation-cell-changes/

    Hope this helps.

    4 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2014-06-30T22:00:49+00:00

    Hi Yushinkuo.

    First, to use indirect in the way you've specified above. You'll need the cell D5 to contain the cell range you want to pick.

    Notice that cell D5 has the E2:E6 in it, which represents the cell range for the countries under CEE.

    2 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2014-06-30T22:07:33+00:00

    I believe you want to create data validation with dependent list.

    You may like to explore this thread where a same question has been answered by me.

    http://answers.microsoft.com/en-us/office/forum/office\_2010-excel/insert-condition-in-data-validation-list/d343922f-10a7-47ac-9df5-48734d8323a2

    Assume your first list range is B2:B6, Give it a name "APAC". Like that give Name for each of your list in column C to F.  Like you have to give range E2:E6 as "CEE"

    You have alread given name Area to your range B1:F1

    Now suppose your first data validation cell is A1 then in List/Allow/give formula as =Area

    and then go to your 2nd validation say its B1, and here in data validation list/Allow give formula as =INDIRECT(A1)     means reference of your first data validation cell.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2014-06-30T20:44:29+00:00

    Not exactly sure of what you want to do but D5 is currently blank so indirect(D5) definitely gives am error or were you intending to use another cell and not D5?

    0 comments No comments