+ Reply to Thread
Results 1 to 4 of 4

Take whole parts of a list/table, based on one criteria?

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    35

    Take whole parts of a list/table, based on one criteria?

    Hi all,

    So, I have this list showing different information based on three people names.
    Each person has done some different contracts at a specific time and some other data.. the information is irellevant for now.
    What I am struggling with is, to make a function which can pick out an entire line of information, from the table containing information for all people, and put that into a seperate sheet.

    For instance.
    I have three people: Christian, John and Louise.
    The master table contains data showing what deals Christian, John and Louise have done individually - keeping an overview.

    However, i need to have a sheet for each individual person --> A sheet for Christian, showing all the deals Christian has done. Likewise a seperate sheet for John and one for Louise.

    Does it make sense?
    Basically, what I need is that each individual sheet for each person, looks up the persons name in the "master" table, and then only picks the lines/data that the respective person is responsible for.
    I need a function that picks the information based on the persons name, and puts the information in a seperate sheet, which will show a total overview of the persons data.

    I tried to use VLOOKUP, but that doesn't really apply to this situation as I need an entire row of data to be shown, and not a specific cell only.

    I've made a basic workbook which shows the conundrum (attached).
    Attached Files Attached Files

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Take whole parts of a list/table, based on one criteria?

    Does it have to be a formula?

    Easiest way to do this would be to have
    Christian!A1 = Sheet!A1
    Then pull across & down to F43
    Then filter column A for "Christian"

    Ditto for other sheets; copy the table whole-sale and then just filter.



    Another option might be, to create a Pivot table on the data, arrange it the way you want, and use "Person" as a filter; copy the tab with the Pivot Table and then just change who you filter it with.



    Formula-wise is possible, but honestly, they'd be work-arounds to accomplish what you can do with these other methods. That's not to say it's impossible that you need to do it with functions, but I want to double-check that's really the case first.

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Take whole parts of a list/table, based on one criteria?

    hi ben_hensel,

    Yeah, I also figured out that could be a way that works.
    However, I am not a big fan of hidden cells/rows which will happen when you import the entire master list and then sort/filter on name

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Take whole parts of a list/table, based on one criteria?

    ...I think you're trading half-a-dozen for five, but that's up to you, I suppose.

    Try the following: It uses MATCH to list appropriate row numbers sequentially using INDIRECT to migrate ranges so you're always looking for the next one after the one above it.

    Then it's just running an INDEX off that row number for each column.
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 04-16-2013, 06:17 AM
  2. Scan parts OUT to Sheet1, parts IN to Sheet2 and list in Sheet3
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 11:40 AM
  3. (VBA) Copy Parts of One Table (List) to New Table (List)
    By Filibuster in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-19-2012, 08:48 PM
  4. Replies: 7
    Last Post: 07-01-2012, 05:43 PM
  5. Substitute parts of Entries by criteria list
    By Raph81 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-08-2010, 10:34 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