Hi,
I have a formula with reference to another sheet, but instead of using sheet name in the formula, I would like the formula to use the sheet name from a cell value.
Is this possible?
Please see attached sample.
Hi,
I have a formula with reference to another sheet, but instead of using sheet name in the formula, I would like the formula to use the sheet name from a cell value.
Is this possible?
Please see attached sample.
Last edited by goranimo; 03-22-2024 at 06:49 AM.
you can do it this way using indirect but based on how you have designed it you'll have to change the tab name to exclude spaces so Test 2 will need to get rid of the space either by doing it this way Test_2 (and the tab to match) or Test2 with also a tab to match. =INDIRECT(A2&"!a1") that you can drag down.
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
Try
Formula:
Please Login or Register to view this content.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Thank you JohnTopley!
Hi again,
So I made the sample to easy to implement this to my project.
My formula is:
=COUNTA('F3482'!$I$3:$I$200)
The sheet name 'F3482' is in cell A10 in active sheet.
I tried =INDIRECT(A10&"!COUNTA($I$3:$I$200)")
That didnt work.
Any suggestions?
No, it won't work!
Try this:
=COUNTA(INDIRECT("'"&A10&"'!$I$3:$I$200"))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Thank you AliGW!
Glad to have helped.
If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks