Skip to main content

How to reference same cell from multiple worksheets in Excel?

Supposing you have a workbook which contains multiple worksheets, and now you want to extract the data within the same cell across multiple worksheets into one master worksheet. For example, pull cell B8 from Sheet1, Sheet2, Sheet3, Sheet4… into a master sheet as following screenshot shown. How could you solve this task quickly and easily in Excel?

Reference same cell from multiple worksheets into one master sheet with formula

Reference same cell from multiple worksheets into one master sheet with VBA code

Reference same cell from multiple worksheets into one master sheet with an amazing feature


Reference same cell from multiple worksheets into one master sheet with formula

If your worksheet names are default sheet names, such as Sheet1, Sheet2, Sheet3...,you can use a formula to deal with this job quickly in Excel.

1. First, you should create a list of helper numbers, please enter 1, 2, 3, 4... sequence numbers which indicate the worksheets you need to reference, see screenshot:

2. Then, enter the below formula into the cell where you want to extract the data, and then drag the fill handle down to the cells you want to appy this formula, and all the same cell value from multiple worksheets have been extracted, see screenshot:

=INDIRECT("'Sheet" & E2 & "'!$B$8")

Note: In the above formula, E2 is the helper number that you entered in step 1, and B8 is the cell reference that you want to extract. This formula is only works well if the sheet names are Sheet1, Sheet2, Sheet3...


Reference same cell from multiple worksheets into one master sheet

Kutools for Excel supports a powerful feature-Dynamically Refer to Worksheets which can help you to reference the same cell value across multiple worksheets into a master sheet. Please see the below demo.    Click to download Kutools for Excel!


Reference same cell from multiple worksheets into one master sheet with VBA code

If there are dozens of worksheets which sheet names are various contents instead of the Sheet1, sheet2, in this case, the following VBA code can help you fill the same cell references from multiple worksheets into one worksheet at once.

1. In the Master worksheet, click cell B8 which is the cell you want to extract from other worksheets.

2. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

3. Click Insert > Module, and paste the following code in the Module Window.

VBA code: reference same cell from multiple worksheets

Sub AutoFillSheetNames()
'Update by Extendoffice
Dim ActRng As Range
Dim ActWsName As String
Dim ActAddress As String
Dim Ws As Worksheet
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set ActRng = Application.ActiveCell
ActWsName = Application.ActiveSheet.Name
ActAddress = ActRng.Address(False, False)
Application.ScreenUpdating = False
xIndex = 0
For Each Ws In Application.Worksheets
If Ws.Name <> ActWsName Then
ActRng.Offset(xIndex, 0).Value = "='" & Ws.Name & "'!" & ActAddress
xIndex = xIndex + 1
End If
Next
Application.ScreenUpdating = True
End Sub

4. Then press F5 key to run this code, and all values of cell B8 from other worksheets have been pulled into the Master worksheet. See screenshot:

Note: This VBA code is applied for filling the cells where you click. For example, if you click cell A1 in a specified worksheet, all the values of cell A1 from other worksheets will be filled into this worksheet.


Reference same cell from multiple worksheets into one master sheet with an amazing feature

If you are not familiar with the VBA code, here, I can introduce you a useful tool - Kutools for Excel, with its Dynamically Refer to Worksheets utility, you can fill cell references from multiple worksheets in Excel with ease.

Tips:To apply this Dynamically Refer to Worksheets feature, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click cell B8 within the Master sheet which you want to extract from other worksheets.

2. Then click Kutools > More > Dynamically Refer to Worksheets, see screenshot:

3. In the Fill Worksheets References dialog box, choose Fill vertically cell after cell from the Fill order, and click the little lock beside the formula text box, and the grey lock will become yellow lock, it means the formula and cell reference has been locked, then you can click any a cell to extract the cell B8 references from other worksheets, in this example I will click cell B2.  Then, check the worksheets which you want to extract the cell references from. See screenshot:

Note: If you don’t lock this little lock, the cell reference you are clicked will be changed with the selected cell.

4. Then click Fill Range button, and the cell values of cell B8 from other worksheets have been listed vertically in the Master worksheet, and then close this dialog box. See screenshot:

Click to Download Kutools for Excel and free trial Now!


More articles:

  • Copy Rows From Multiple Worksheets Based On Criteria Into A New Sheet
  • Supposing, you have a workbook with three worksheets which have the same formatting as below screenshot shown. Now, you want to copy all the rows from these worksheets which column C contain the text “Completed” into a new worksheet. How could you solve this problem quickly and easily without copying and pasting them one by one manually?
  • Create A List Of Unique Values From Multiple Worksheets
  • Is there any quick way for us to create a list of unique values from all worksheets within a workbook? For example, I have four worksheets which list some names contain duplicates in column A, and now, I want to extract all unique names from these sheets in to a new list, how could I finish this job in Excel?
  • Countif A Specific Value Across Multiple Worksheets
  • Supposing, I have multiple worksheets which contains following data, and now, I want to get the number of occurrence of a specific value “Excel” from theses worksheets. How could I count a specific values across multiple worksheet?
  • Insert The Same Image Into Multiple Worksheets
  • Normally, we can insert a picture into a worksheet quickly by using the Insert function in Excel, but, have ever tried to insert the same picture into all worksheets of your workbook? This article, I will introduce a useful method for you to solve this job.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have create a stock sheet and opening stock list is there and i create 500 sheets for different items so how to put opening stock in all sheets at a time
This comment was minimized by the moderator on the site
Hello,


I have a list of students in column A and the schools they attend in G. I want a worksheet to populate all students who attend X school from the available worksheets. How would I do this? Thanks in advance!
This comment was minimized by the moderator on the site
I have a spreadsheet with all the months. I want some of the cells to carry over from the first month to the proceeding other (i.e., cell B12 in January can be linked to February - December cell B12). How would I do this?
This comment was minimized by the moderator on the site
Hi, thanks it works with a workbook at my job. Thanks Best regards Luzardo
This comment was minimized by the moderator on the site
Dears, Kindly note that I used Reference Same Cell From Multiple Worksheets With VBA Code and it works with me properly, however I need your help in how to me this code retrieve the values in the master sheet horizontal instead of vertical. Best Regards, :-)
This comment was minimized by the moderator on the site
Dears Kindly note that I used Reference Same Cell From Multiple Worksheets With VBA Code and it works properly, but I need to modify something in the code and I need your help to make the values return in the master sheet horizontal instead of vertical. Best Regards, Mohamed AbdELhady
This comment was minimized by the moderator on the site
Is there a MAcbook version of this tool?
This comment was minimized by the moderator on the site
Hi I have just tried your vba code and it makes sense how to use it however on my master spreadsheet for this to work it is slightly more complicated firstly i'd want when i run the code for the results to populate horizontally secondly the cell id use as a reference like B6 is used doesnt correpsond on the other spreadsheets - so to explain the value id want to find appears in the same cell on each sheet but this doesnt correspond onto the master spreadsheet hope this makes sense please help!!
This comment was minimized by the moderator on the site
hi Thank you for you coding its really great and so much helpful for us. In this above VBA code how can I exclude the hidden worksheet? As I have different customer whom I billed them monthly using a format. So I have created few worksheet and hide them and from where I extract the different data from this hidden sheet. So please let me know the coding so that it doesn't pick the cell value from hidden worksheet. Your work is highly appreciated and thak you for your wonderful support! Regards Abhishek
This comment was minimized by the moderator on the site
How would I reference a specific cell as opposed to the cell that I have selected in another workbook?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations