Results 1 to 9 of 9

Thread: Fetch multiple values based on criteria

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi,

    Assume your data in A1:C16 row 1 being the header

    Type the Agency name in G1

    In G2 and copied down and across,

    =IFERROR(INDEX(B$2:B$16,SMALL(IF($A$2:$A$16=$G$1,R OW(B$2:B$16)-ROW(B$2)+1),ROWS(G$2:G2))),"")

    It's an array formula. Confirmed with CTRL + SHIFT + ENTER
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    8
    Rep Power
    0
    Dear Admin,
    Thank you so much for your help!! The array formula is exactly what I needed!!! You Rock!!!

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    8
    Rep Power
    0
    Thank you so much for your help!! The array formula is exactly what I needed!!! You Rock!!! :D

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2013, 11:17 PM
  2. Replies: 7
    Last Post: 05-15-2013, 02:56 PM
  3. Sum values based on multiple criteria
    By Jorrg1 in forum Excel Help
    Replies: 8
    Last Post: 01-07-2013, 03:04 PM
  4. Sum values based on multiple criteria
    By vmath in forum Excel Help
    Replies: 1
    Last Post: 05-07-2012, 08:53 AM
  5. Replies: 7
    Last Post: 03-06-2012, 07:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •