+ Reply to Thread
Results 1 to 3 of 3

to return Mutliple results with one search item

  1. #1
    Registered User
    Join Date
    01-09-2011
    Location
    Philadelphia,PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    to return Mutliple results with one search item

    Hi,

    I am working on building a schedule for my department. The department I work in is comprised of four sub-departments. Each has their own schedule that is then compiled into one master schedule. I am trying to find ways to save some time. I have looked all over this site for the answer and have found a few things that seem to be working but aren't returning the proper results. I am not sure why. I was hoping for some help.

    I have included a dummy spreadsheet.

    The idea is to have the first page be the master schedule then four successive pages with each departments individual schedule. The example that I have included has the formula I have been working with and search located at the top of the first page. This is only for testing; to see if I was getting the proper results before I began moving it to the other pages.

    While I realize that a simple filter or a pivot table might be the answer, I work with a large group of people that do not want to (or have the ability to figure out) the buttons. Therefore I need something to populate the lists in an easier form than by hand.

    Exp.

    Sheet 1
    Colum A Colum B
    Dept Emp. Name Monday Tuesday

    AV John Smith 9a - 5p 9a - 5p
    Carp Bob Smith 10p - 1a Off
    Audio Jane Doe 3p - 11p 8p - 12a
    Elec Joe johnson 4p - 8p 3p - 7p


    These examples then would break out to sheet 2,3,4,5, respectively.
    I have been working with
    =INDEX(name,SMALL(IF((dept=$A$3),ROW(dept)),ROW()))
    However it is not returning the proper information.
    Any help would be appreciated. Thanks.
    Attached Files Attached Files
    Last edited by Bald Ben; 01-20-2011 at 05:13 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: to return Mutliple results with one search item

    You need to adjust for postions...try ammending to:

    =INDEX(name,SMALL(IF((dept=$A$3),ROW(dept)-ROW(OFFSET(dept,,,1,1))+1),ROWS($A$1:$A1)))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-09-2011
    Location
    Philadelphia,PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: to return Mutliple results with one search item

    This works great! Thanks so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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