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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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,224,815
Messages
6,181,136
Members
453,021
Latest member
Justyna P

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