• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Index with queries

ganeshm

Member
Hi,

I require guidance for the attached excel file.

I have details in sheet1 which has to be published in sheet 2 with index queries.

say..
Note 1 - Select dept.
Note 2 - Select corresponding nationality to the dept.
Note 3 - Select corresponding position to the dept and nationality (a combined query)

How do i proceed with this?

regards,
safiu
 

Attachments

  • Book1.xlsx
    17.4 KB · Views: 4
Hi ,

See this file.

I have added 3 pivot tables to get the distinct entries in the DEPT , NATIONALITY and Position fields of your table. When ever you make new entries in the table , you should Refresh these pivot tables to keep them up to date.

Narayan
 

Attachments

  • Book1.xlsx
    27.3 KB · Views: 8
further to the above excel file.

If i select "FIN" from data validation, i would want only nationality Jordon or British to appear.
Similarly, corresponding position need to appear say accountant and finance manager.

The following formula throws "#ref" error, when i place it in name range.
=INDEX(INDIRECT(M3,TRUE),Table1[#Data],Table1[NATIONALITY])
 
Hi, ganeshm!
Glad if it helped you to solve it. Thanks for your feedback and welcome back whenever needed or wanted.
Regards!
 
Dear SirJB7,

Without using vba code is it possible to use formula in name range?

For instance,
1st drop down - i select Finance -
2nd drop down - since finance dept has only two nationalities (reference sheet 1) say "British" and "Jordanian", will the 2nd drop down show only these nationalities.
 

Attachments

  • Book1.xlsx
    28 KB · Views: 4
Back
Top