• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

How to get specific cell reference from multiple sheets|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How to get specific cell reference from multiple sheets|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…How to get specific cell reference …
sp_PrintTopic sp_TopicIcon
How to get specific cell reference from multiple sheets
Avatar
Nazrin Zahani
Member
Members
Level 0
Forum Posts: 6
Member Since:
June 4, 2021
sp_UserOfflineSmall Offline
1
June 4, 2021 - 12:26 pm
sp_Permalink sp_Print sp_EditHistory

Hi Mynda,

I have an extract of Statement of Accounts from an application which downloads each Client account code into multiple sheets. I have attached the sample file and would like to know how to extract certain cell reference from each Sheet. 

The End result is per Sheet11 of the file.

Thank you and hope to hear from you soon.Smile

Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
2
June 4, 2021 - 2:16 pm
sp_Permalink sp_Print

Hello

Indirect will let yoiu make the cell from the worksheet name and text

=INDIRECT(A24&"!P3")

Then in the grid you can have a match to find the correct row, and index + Indirect to pull the data

=INDEX(INDIRECT($A24&"!a:a"),$M24)

The one thing you MUST to is to get rid of merged cells - the above will not work with merged cells and they are without doubt the worse thing you can use on a spreadsheet. Try 'Centre Accross Selection' from the formatting menu as it does a simular job but is far less destructive

Avatar
Nazrin Zahani
Member
Members
Level 0
Forum Posts: 6
Member Since:
June 4, 2021
sp_UserOfflineSmall Offline
3
June 4, 2021 - 6:45 pm
sp_Permalink sp_Print

Thank you very much for your response. very much appreciated. SmileSmileSmile

The solution is very helpful.

P/s: The merge cells are actually from the extract from the source the application. 

Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
4
June 6, 2021 - 2:43 pm
sp_Permalink sp_Print

Fair enough, i have that at work as well and it drives me mad.

As long as  you only need the data somthing lilke this might help

Sub MergeKiller()

Dim ws As Worksheet

For Each ws In ActiveWorkbook.Worksheets
ws.Range("a:u").UnMerge
Next ws

End Sub

Avatar
Nazrin Zahani
Member
Members
Level 0
Forum Posts: 6
Member Since:
June 4, 2021
sp_UserOfflineSmall Offline
5
June 10, 2021 - 2:34 pm
sp_Permalink sp_Print

Hahaha... the number of sheets are > 500 sheets.

Thank you anyway for your advice and tips. Will try to look into it.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
June 10, 2021 - 7:12 pm
sp_Permalink sp_Print

Hi Nazrin

Give this a try.

No idea how it will perform on 500 sheets as it uses a lot of INDIRECT functions.

Good luck.

Sunny

Avatar
Nazrin Zahani
Member
Members
Level 0
Forum Posts: 6
Member Since:
June 4, 2021
sp_UserOfflineSmall Offline
7
July 1, 2021 - 11:57 am
sp_Permalink sp_Print

Hi again,

Getting specific cell reference from multiple sheets in same workbook is now working fine for me.

New similar question:

How do i now get specific cell reference from multiple sheets from a different Excel Workbook (file).

eg.

  • I have WB1 and WB2
  • WB1 is the master file
  • I need to get specific Cell reference from multiple sheets in WB2 into WB1.

Can we still use MATCH & INDIRECT and INDEX? If so, how? I can seem to get it.

Thank you and hope you are able to assist.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: David Eva
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Forum Stats:
Groups: 3
Forums: 24
Topics: 6211
Posts: 27238

 

Member Stats:
Guest Posters: 49
Members: 31891
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.