+ Reply to Thread
Results 1 to 9 of 9

Extracting data onto 1 sheet depending on the given sheet name

  1. #1
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Extracting data onto 1 sheet depending on the given sheet name

    How do I extract data depending on the unique value of the sheet?
    I have multiple sheets named as followed; Data, A, B, C, D
    Inside [Data] sheet in A1 id like to type the Code A or any other codes,
    and return all the data is inside that sheet.

    Thanks
    Attached Images Attached Images
    Last edited by Eduards; 11-01-2018 at 12:47 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Extracting data onto 1 sheet depending on the given sheet name

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post. Don't try to use the Paperclip icon, as it doesn't work on this forum.

    Hope this helps.

    Pete

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Extracting data onto 1 sheet depending on the given sheet name

    Hi

    Please help us to help you.

    How much data do you have on each of the sheets? Better, what is the range of data in each of the sheets (A, B, C, D, ...)?

    Will you use the DATA sheet for other calculations or is it just to receive the data from the other sheets?

  4. #4
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Extracting data onto 1 sheet depending on the given sheet name

    Would it be easier if in every sheet in cell A1 I insert the unique codes in there to represent their sheets. E.g. Sheet A | Cell A1 = Customer A Sheet B | Cell A1 = Customer B

  5. #5
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Extracting data onto 1 sheet depending on the given sheet name

    It will be unlimited data From cell A to cell I.
    And yes I will be using this data for other calculations.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Extracting data onto 1 sheet depending on the given sheet name

    A picture of a workbook is not much use - please attach the actual workbook, using the procedure that I described above.

    Pete

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Extracting data onto 1 sheet depending on the given sheet name

    Hi

    Use INDIRECT function In DATA sheet

    I suppose that with array function is better than a single formula but you can try with your data

    I'm also assuming line 1 of Sheet A, B, C, ... has no values and the maximum number of rows are 10000

    Normal formula
    In DATA!A2 use

    =INDIRECT($A$1&"!"&"A2")

    and drag to I10000

    Array formula
    Select A2:I10000, insert the following formula and confirm by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the file with array formula implemented
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Extracting data onto 1 sheet depending on the given sheet name

    Perfect! Thank you José!

  9. #9
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Extracting data onto 1 sheet depending on the given sheet name

    You're welcome

    I'm happy to have helped.

    Do not forget to mark this thread as SOLVED.

+ 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. Transfer data from the main sheet to another sheet depending on empty cells
    By Joky in forum Excel Programming / VBA / Macros
    Replies: 37
    Last Post: 01-19-2018, 04:01 PM
  2. Replies: 18
    Last Post: 07-08-2017, 11:53 PM
  3. Replies: 0
    Last Post: 07-21-2015, 10:26 PM
  4. Replies: 0
    Last Post: 08-03-2014, 03:32 AM
  5. Replies: 5
    Last Post: 07-10-2013, 02:33 PM
  6. Extracting data from a row on one sheet into another sheet based on a unique cell
    By roshanvarghese in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-23-2013, 03:49 AM
  7. copying data from one sheet to another sheet depending on critirea.
    By pvk296 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2009, 04:48 PM

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