+ Reply to Thread
Results 1 to 4 of 4

Data from multiple identical sheets

  1. #1
    Registered User
    Join Date
    01-14-2005
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    32

    Data from multiple identical sheets

    Greetings!! I have multiple identical worksheets called "Cost worksheet 1, Cost worksheet 2," etc...

    Each of the sheets has a list of ingredients and then a total at the bottom. The total is in Cell D25 on each of the sheets.

    Is there a way to set up a summary worksheet at the end or beginning that looks like this:


    -------------------------]---------------A---------------]-------B----------]
    _____1________]__Cost worksheet 1 __]____$3.45__]
    _____2________]__Cost worksheet 2___]____$4.57__]
    _____3________]__Cost worksheet 3___]____$5.60__]

    I have forty sheets and they change from time to time. I'd really be great not to have to manually cut and paste!

    Thank you!!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Data from multiple identical sheets

    In B1
    =INDIRECT("'"&A1&"'!C25") dragged down
    That's an initial double quotes around a single quote/apostrophe, also a single quote before the !
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    01-14-2005
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Data from multiple identical sheets

    Yes!!!

    However, the names of the worksheets change from time to time as well as things are updated. Is there a way for column A to contain all of the names of the worksheets in the workbook? That would be great. Then I wouldn't have to cut and paste each worksheet name into the cells in Column A.

    Edit: To be more specific, the worksheets are not actually called "Cost Sheet 1, Cost sheet 2, etc." They are more like "Big Chicken 1.2" and "Myan with Mayo" and "Tourist in Rome" They are all sandwich names and the guys in the kitchen costing them out get creative some times!

    Thank you so much!!!
    Last edited by clacka; 01-06-2011 at 06:11 PM.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Data from multiple identical sheets

    VBA is the best way to do that. Copy this macro into a module
    (Alt + F11)>Insert > Module then paste.
    Please Login or Register  to view this content.
    Replace Summary with the name of the worksheet that you want this info moved into
    I assume the list starts in A1. Modify if necessary. Does this work for you?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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