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
Thanks in advance
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 | ||
---|---|---|
Range | Formula | |
A1 | A1 | =INDEX(INDIRECT("'"&SheetNames&"'!C1:C7"),MATCH(1,(INDIRECT("'"&SheetNames&"'!B1:B7=Yes")*(INDIRECT("'"&SheetNames&"'!D1:D7=No")))),0) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
SheetNames | =Dashboard!$H$1:$H$3 | A1 |
ExampleTest.xlsx | |||
---|---|---|---|
C | |||
7 | Joe | ||
January 24 |
Thanks in advance