+ Reply to Thread
Results 1 to 16 of 16

Compile list of data from same cell in multiple worksheets

  1. #1
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Compile list of data from same cell in multiple worksheets

    Good afternoon,
    I have produced a spreadsheet in excel 2010. It comprises 409 worksheets. I want to print out the data that is in cell 'J6' of each work sheet onto 1 page so that I can sort it and print it out. I would appreciate anyones input!

    Thanks
    Abidan

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Compile list of data from same cell in multiple worksheets

    Hi,

    Maybe with a macro somewhat along these lines. First create a new sheet called "Summary"
    Please Login or Register  to view this content.
    But going forward why are you collecting data on all those 400+ sheets. May I respectfully suggest that's not the way to collect data, and certainly not if you need to be able to analyse or summarise it.

    You should collect all the data on a single sheet. Probably with the same layout as your existing sheets (but we'd need to see in order to comment definitively) but with an extra column to record whatever each individual sheet currently represents.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Thanks for your response Richard,
    I have to admiot that I am not that experienced with macros. Your comments suggest that my enquiry is a bit vague, maybe I should upload a couple of relevant files that will help explain my request? Can I do that?

    Abidan

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Compile list of data from same cell in multiple worksheets

    ..Of course. Cut down the workbook since we don't need to see all 400+ sheets - I'm assuming they are all similar and upload the workbook.

    In your 2nd post you mention a couple of files. Is the second file the result you want to see when all J6 values have been listed?

  5. #5
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    By 'couple of files' I meant pages from within the work book. I have uploaded the 'START HERE' index page plus 2 'Cutter references' pages & 1 list page.
    The page '12 x 30mm 6 part 2 wide is linked to cell 'I2' of the index page. The page '20 x 20mm 2 Part' is linked to cell 'A2' of the index page. In the 'List page' I need to make a list of all the text from cell 'J6' in each of the 'Cutter references' pages.
    Have I explained clearly?
    Thanks
    Abidan
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Hi there,
    Did I cause problems with my last post with the uploaded file? maybe I have selected the wrong Forum for my enquiry, if so please let me know what was wrong/incorrect.

    Thanks Abidan

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    No. I guess your uploaded sheet went unnoticed, that's all.

    So you want a list of the content of J6 in every sheet in the workbook? Is that correct?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    The easist way to do this is firstly to create a Named Range (see CTRL-F3 for details). Then generate a list of all sheets in the workbook (column A of list page). For the sake of neatness, I put the list page after your INDEX sheet. Then use INDIRECT and the sheet list to return the content of your chosen cell (J6). You can hide the list of sheets, but leaving it there enables you to see what sheet each of your returns comes from. Is this what you were after?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Thanks for your response Glenn,
    I beleive that will do the trick! I shall try to replicate what you have shown in my original file (after backup of course).

    Thanks very much.
    Abidan

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    If you run into problems, just shout. If all's well, please mark the thread as solved (by selecting Thread Tools from the menu link above and marking as SOLVED). It'd be appreciated if you were to click the Add Reputation button, too! Thanks..

  11. #11
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Glenn, I am having problems understanding how you did it! Could you explain more basically?

    Thanks
    Abidan

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    Hi there.

    The difficult bit (to understand and explain) is the content of column A. The formula and the Named Range returns acurrent list of all sheets in the book in the form [filename]sheetname. The MID funtion slices that after the ] and returns only the sheetname.

    That can then be used in column B. In that column, the INDIRECT function looks in every sheet listed in Col A and returns the content of J6. If there's nothing in the A column, it returns a blank.

  13. #13
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Below is a screen capture of my first stage! I presume that I have to enter a formula in the 'refers to' field? How do I calculate what formula to enter please?

    Thanks Abidan

    Image 1.jpg

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    Open the Named Ranges box in the sheet that I sent to you - CTRL F3 - use the formula AND name that are in my version...

  15. #15
    Registered User
    Join Date
    08-09-2006
    Posts
    10

    Re: Compile list of data from same cell in multiple worksheets

    Thanks for that Glenn,
    I couldn't see the wood for the trees!

    Abidan

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Compile list of data from same cell in multiple worksheets

    You and me, both!!! Thanks for the Reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compile Names From Multiple Worksheets
    By aegliveinterns in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2010, 04:05 PM
  2. Compile Data From Multiple WorkSheets
    By fasterthanyours in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-09-2010, 01:55 PM
  3. compile data from multiple worksheets into one worksheet
    By wtuttle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2009, 10:25 AM
  4. Replies: 0
    Last Post: 01-15-2008, 12:19 AM
  5. Compile list of same cell from multiple worksheets
    By PCakes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-17-2006, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1