Index, Indirect, Match query

Nigel B

New Member
Joined
Oct 14, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a workbook containing multiple worksheets (number of weeksheets will be added to every week). The worksheet names are held in a dynamic list 'SheetNames'. I need to list on a Dashboard sheet, the text entries in column C, when Column B ="Yes", and Column D = "No".

I figured something similar to below, but get a #N/A error

Excel Formula:
=INDEX(INDIRECT("'"&SheetNames&"'!C1:C7"),MATCH(1,(INDIRECT("'"&SheetNames&"'!B1:B7=Yes")*(INDIRECT("'"&SheetNames&"'!D1:D7=No")))),0)

ExampleTest.xlsx
A
1#N/A
Dashboard
Cell Formulas
RangeFormula
A1A1=INDEX(INDIRECT("'"&SheetNames&"'!C1:C7"),MATCH(1,(INDIRECT("'"&SheetNames&"'!B1:B7=Yes")*(INDIRECT("'"&SheetNames&"'!D1:D7=No")))),0)
Named Ranges
NameRefers ToCells
SheetNames=Dashboard!$H$1:$H$3A1



ExampleTest.xlsx
C
7Joe
January 24



Thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: INDEX, INDIRECT, MATCH query [SOLVED]
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top