X
X
Xambey2018-10-17 09:03:17
excel
Xambey, 2018-10-17 09:03:17

Formula. How to get a range of sheets with a condition in Excel?

How to get sheet range with following condition for formula in Excel? :
sheets whose name contains a certain substring equal to the value from some cell.
5bd2c98029934868171869.png
PS That is, the user enters a value in a predefined cell label to search for sheets and automatically the formula is applied only to certain sheets. For the photo above, for example, it will be the word "Component", i.e. it will be all sheets containing the substring - Component
Please show an example of such a formula.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Kuznetsov, 2018-10-26
@KEugene

Let's say we have two sheets:
Sheet1
Sheet2
On sheet Sheet1 in A1 we write "Sheet2" without quotes.
On sheet Sheet2 in A1 write "FFF" without quotes
On sheet Sheet1 in A2 write the formula
=INDIRECT(A1&"!A1")
We get the value FFF in the cell.
It? But the question is not entirely clear...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question