Excel dropdown INDIRECT INDIRECT formula

You are currently viewing Excel dropdown INDIRECT INDIRECT formula

In Excel, to extract score of the student in the subject based on the selection of the dropdowns, you can use data validation and the INDIRECT INDIRECT formula.

The following dataset contains scores of students in 3 subjects:

Extracting score of the student in the subject based on the selection of the dropdowns

Now I want to find the score in B5, when the user makes a selection from the student and subject dropdown lists in B3 and B4 respectively.

To accomplish the task, I perform the following steps:

Use data validation to create Student dropdown list in B3, listing student names in column A. To do so, go to Data > Data Validation > Allow: List > Source: =INDIRECT("data[Student]")

Using data validation to create dynamic dropdown list

Use data validation again to create Subject dropdown list in B4, listing subjects in row 7. To do so, go to Data > Data Validation > Allow: List > Source: =$B$7:$D$7

Using data validation to create dropdown list

Select the source data range (including the headers), go to Formulas > Create from Selection. Select Top row and Left column options and click OK.

Creating names from selection

To find the score of the student in the subject, construct the following INDIRECT INDIRECT formula in B5:

=IFERROR(INDIRECT(B3) INDIRECT(B4),"")

Constructing the INDIRECT INDIRECT formula

Your dropdown INDIRECT INDIRECT formula is ready! I hope this post helped you.

Download Practice Workbook

Kunal

Hey, I am Kunal Aggarwal, the founder and author of Kunal Excel Tip based in New Delhi, India. I have completed my postgraduation from NIIT Limited, New Delhi in Excel course in 2019. Since then, I have been using and learning Microsoft Excel and started writing posts on the spreadsheet software here since March 2024.

Leave a Reply