Concatenating a name and number to reference a tab

ericaljones

New Member
Joined
May 6, 2019
Messages
2
I am working on a project where I have to reference different tabs of many rounds. I have formatted my index and match searches for the first round, but found that I was doing a lot of hard coding when trying to change each of the formulas for the "Round 2" tab.
Is there a way that I can combine the word "Round " with a number and reference the tab with that name?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Say you have three sheets with tab names Round 1, Round 2 and Round 3.
Code:
Sub CycleThruTabs()
Dim x
For x = 1 To 3
    Sheets("Round " & x).Select
     MsgBox ActiveSheet.Name
Next x
End Sub
 
Upvote 0
I am more trying to use the concatenated tab name in other formulas. For example I want it to do =INDEX('Round 1'!B5:B41,MATCH('Erica Jones'!$A$1,'Round 1'!G$4:G$32,0))
Is there a way that I can replace the "Round 1" with a combination of "Round " and a number in that row that would represent the round number?
 
Upvote 0
I am more trying to use the concatenated tab name in other formulas. For example I want it to do =INDEX('Round 1'!B5:B41,MATCH('Erica Jones'!$A$1,'Round 1'!G$4:G$32,0))
Is there a way that I can replace the "Round 1" with a combination of "Round " and a number in that row that would represent the round number?
Not sure I understand what row you are referring to.

Suppose you want to return the value of cell A1 in sheet Round 1, then if you have a 1 in cell G12 of any sheet where you want to reference that value. This formula will do that:

=INDIRECT("'Round "&G12&"'!A1")
 
Upvote 0

Forum statistics

Threads
1,223,734
Messages
6,174,189
Members
452,550
Latest member
southernsquid2

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