Results 1 to 6 of 6

Return Multiple Values For a Single search

Threaded View

Darkonius Return Multiple Values For a... 06-19-2013, 01:12 PM
FDibbins Re: Return Multiple Values... 06-19-2013, 01:25 PM
Darkonius Re: Return Multiple Values... 06-19-2013, 02:21 PM
FDibbins Re: Return Multiple Values... 06-19-2013, 02:53 PM
FDibbins Re: Return Multiple Values... 06-19-2013, 03:16 PM
Darkonius Re: Return Multiple Values... 06-19-2013, 05:21 PM
  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Return Multiple Values For a Single search

    Ok here is my problem in general. I have an excel Sheet with a List of sales people (12) and a list of around 1500 potential clients, we have assigned clients to salespeople, and I would now like to create a separate table for each salesperson with a list of each client pulled from the master list. I have tried using the =vlookup ut it will only return the first occurrence of the salespersons name and ignore everything thereafter.

    I found what I thought to be a solution with this:
    =INDEX('Sales'!$G$6:$G$13, SMALL(IF(A1='Sales'!$D$6:$D$13, ROW('Sales'!$D$6:$D$13)-MIN(ROW('Sales'!$D$6:$D$13))+1, ""), ROW(A1)))

    This returns the value from the second column from the master file each time it finds "Tom" (Cell A1=Tom) however the limitation of this is that I can not get it to return more than 7 occurrences, it seems to blow the list up when I increase the cell range beyond that.

    I finally got frusterated trying to make that work , so I developed a sheet where all of the salespeople are listed in the A column, Clients in the B column all starting at Row 2, and in C1 the salespersons name and in C2 writing this statement =If(A2=C1,B2)
    I have followed this format across (more salespeople) and down using $ to lock where needed and that part works fine, but now I want to return a list without all of the "#N/A", "False" and blanks left behind in the column.
    In other words I want to create a complete list from a column (about 30 names) where the column has numerous blanks, "#N/A", and "False" statements in it.

    I hope that all makes sense and someone can help. If it comes to it I can work up a "dummy" sheet of what I am trying to do and link it. But I am hoping this is a simpler problem than I am making it and someone understands it better than I.

    Thanks in advance for the help!
    Last edited by Darkonius; 06-19-2013 at 01:14 PM. Reason: Spelling

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