+ Reply to Thread
Results 1 to 6 of 6

Formula to display contacts based on common criteria

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Formula to display contacts based on common criteria

    Hypothetically I have a database in a workbook. That database consists of multiple contacts for various companies. I want a formula that will do the following...

    On a new page in the work book I want to be able to put a company name in cell a1 and have this display, below it, the contacts who work for that company.

    In essence I suppose it is a formula that when you enter a given value from a column it then displays results from other columns that also have that value in their row.

    I have no sheet at present to share, I just need some guiding principals please.

    Cheers
    Last edited by Blubirdjim; 12-19-2012 at 11:54 AM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula to display contacts based on common criteria

    Hi jim,

    This can be done ... do u have a sample data to post ? thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    12-11-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Formula to display contacts based on common criteria

    I suppose I can put a dummy sheet together

  4. #4
    Registered User
    Join Date
    12-11-2012
    Location
    Swindon, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Formula to display contacts based on common criteria

    attached is a dummy sheet please help!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-02-2012
    Location
    Baku
    MS-Off Ver
    Excel 2010
    Posts
    273

    Re: Formula to display contacts based on common criteria

    Hi
    This is arrayy formula
    =IFERROR(INDEX(Database!$B$2:$B$20,MATCH(SMALL(IF((Database!$A$2:$A$20=Overview!$B$1)*ROW($A$1:$A$19)=0,"",(Database!$A$2:$A$20=Overview!$B$1)*ROW($A$1:$A$19)),ROW(A1)),(Database!$A$2:$A$20=Overview!$B$1)*ROW($A$1:$A$19),0)),"")
    Attached Files Attached Files

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,412

    Re: Formula to display contacts based on common criteria

    Try the file attached.....
    Attached Files Attached Files
    Quang PT

+ 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