Forum Discussion
How to use tab name in a cell instead of typing tab name?
Often, we use something like =Current!A1 to retrieve data from tab name Current and print on Summary tab. How can we use "Current" from Cell? Thanks.
On the Summary tab, you could use the following formula as an example:
=INDEX(INDIRECT("'" & A1 & "'!A1"), 1, 1)
=INDIRECT("'" & A1 & "'!A1")
Both the INDIRECT and INDEX/MATCH approaches achieve the same result, allowing you to reference cells dynamically based on the tab name specified in another cell. Choose the one that you find more convenient or suitable for your specific use case.
- NikolinoDEGold Contributor
On the Summary tab, you could use the following formula as an example:
=INDEX(INDIRECT("'" & A1 & "'!A1"), 1, 1)
=INDIRECT("'" & A1 & "'!A1")
Both the INDIRECT and INDEX/MATCH approaches achieve the same result, allowing you to reference cells dynamically based on the tab name specified in another cell. Choose the one that you find more convenient or suitable for your specific use case.
- smmvols84Copper Contributor
Thank you for help. I appreciate it very much. NikolinoDE