+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Lookup and return associated data for each item found

  1. #1
    Registered User
    Join Date
    04-15-2010
    Location
    Wilm, Delaware
    MS-Off Ver
    Excel 2007
    Posts
    3

    Lookup and return associated data for each item found

    I have a table that has multiple salesmen's names, their commissions, etc. Each salesman can be listed multiple times. I am trying come up with a formula that will:
    Look for ALL instances of a particular salesmen, and then return all the associated data from other cells.

    E.g. Looking for all instances of Jones

    Month Salesman Model sales price commission
    Jan Jones ABC 500 50
    Jan Smith ABC 400 40
    Feb Jones XYZ 300 30
    Mar Jones LMN 400 40

    Results are:
    Jan Jones ABC 500 50
    Feb Jones XYZ 300 30
    Mar Jones LMN 400 40

    What I am trying to do is pull each individual salesman's sales data to a separate worksheet so that I can share their sales with them.

    Thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Lookup and return associated data for each item found

    workbook please
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-15-2010
    Location
    Wilm, Delaware
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Lookup and return associated data for each item found

    Quote Originally Posted by TReindl View Post
    I have a table that has multiple salesmen's names, their commissions, etc. Each salesman can be listed multiple times. I am trying come up with a formula that will:
    Look for ALL instances of a particular salesmen, and then return all the associated data from other cells.

    E.g. Looking for all instances of Jones

    Month Salesman Model sales price commission
    Jan Jones ABC 500 50
    Jan Smith ABC 400 40
    Feb Jones XYZ 300 30
    Mar Jones LMN 400 40

    Results are:
    Jan Jones ABC 500 50
    Feb Jones XYZ 300 30
    Mar Jones LMN 400 40

    What I am trying to do is pull each individual salesman's sales data to a separate worksheet so that I can share their sales with them.

    Thanks
    See attached workbook example
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Lookup and return associated data for each item found

    You can easily use a Pivot Table, depending on the wanted results.
    Do you want any data summarized ?

  5. #5
    Registered User
    Join Date
    04-15-2010
    Location
    Wilm, Delaware
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Lookup and return associated data for each item found

    Quote Originally Posted by arthurbr View Post
    You can easily use a Pivot Table, depending on the wanted results.
    Do you want any data summarized ?
    Summary is not necessary. Plus, need to pull data for each individual onto separate worksheets so that each salesman sees only his own confidential commission information.

    Thank you.
    Tom

+ 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