Skip to main content

How to create a list from same cells across multiple sheets in Excel?

Supposing we deploy every monthly sales table in a separated worksheet as below screen shot shown, and all sales tables have the same layout. Now we want to create a list from all sum values (Cell E6) across multiple worksheets. How to get it done? And what if create a dynamic list from sum values of each worksheet? There are two ways for you:

doc create list multiple sheets 1

Create a list from same cells across multiple sheets with VBA

Create a dynamic list from same cells across multiple sheets with Kutools for Excel

Easily combine multiple worksheets/workbooks into single worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks!

ad combine sheets books 1


With the following VBA code, you can create a list from the specified cells across multiple worksheets easily. You can do as follows:

Step 1: Select the specified cell that you will create your list from. In our case, we select the Cell E6.

Step 2: Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window, click Insert > Module, and then paste the following code into the module window.

VBA: Create a list from same cells across multiple sheets

Sub CreateList()
Dim xAddWs As Worksheet
Dim xWs As Worksheet
Dim RngAddress As String
xTitleId = "KutoolsforExcel"
RngAddress = Application.ActiveCell.Address
Set xAddWs = Application.ActiveWorkbook.Sheets.Add
xAddWs.Name = xTitleId
i = 1
For Each xWs In Application.ActiveWorkbook.Worksheets
If xWs.Name <> xTitleId Then
xAddWs.Cells(i, 1).Value = xWs.Range(RngAddress).Value
i = i + 1
End If
Next
End Sub

Step 3: Press F5 key or click the Run button to run this VBA.

Then all values from the specified cell on all worksheets are copied to a new worksheet named KutoolsforExcel. See screen shot:

doc create list multiple sheets 2

This VBA will fill the list into a new worksheet, and the values in the list are static which won’t change with the original values.

However, sometimes you may want to fill the list into specified range, and require the list values always be correspondence with the original values in specified cells all the time. To meet these needs, you should try the following method.


This method will introduce Kutools for Excel’s Dynamically Refer to Worksheets utility to create a dynamical list from same cells across multiple worksheets.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

Step 1: Select the Range where you will fill the dynamic list, and click the Kutools > More > Dynamically Refer to Worksheets.

doc dynamically refer to sheets 1

Step 2: In the opening Fill Worksheets References dialog box,

doc create list multiple sheets 5

(1) Click the Fill Order box, and select a fill type from the drop down list. In our case, we select Fill Vertically cell after cell;

(2) In the Fill formula box, specify the cell address which you will create a dynamic list from, and then click the Lock button  to lock the formula.

(3) Click the Fill Range button.

Now you will see values in the specified cells across all worksheets are filled into the specified range as below screen shot shown:

When the original values changed, the corresponding values in this specified list will be changed automatically.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

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 (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Very helpful bit of coding, saved hours of work creating a table from lots of separate data worksheets
This comment was minimized by the moderator on the site
Thank you very much for this. Just saved me hours of work as I had to go through 200 sheets doing data input... One thing to note for people is to click the cell you want it to use prior to opening ip and running the macro. Scratched my head for a couple minutes as the worksheet was opening up but didn't know why the information wasn't showing
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations