+ Reply to Thread
Results 1 to 5 of 5

Lookup Value for based on Certain Criteria [Solved]

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-20-2005
    Posts
    130

    Lookup Value for based on Certain Criteria [Solved]

    Dear All,

    Need your help with regards to captioned scenario.

    I have one work with Sheets named Input & Output.

    In Input Sheet I have 4 columns named Type, Login Date, Customer Name, Status
    In Output Sheet I need output only for particular type. Dummy Sheet attached for reference.

    Any kind of help is appreciated.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by Little Master; 04-03-2013 at 12:14 PM. Reason: SOlved
    Regards,
    Little Master

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup Value for based on Certain Criteria

    Try in B2, this ARRAY formula.

    =INDEX(Input!C$2:C$100,SMALL(IF(Input!$A$2:$A$100=$A2,ROW(Input!C$2:C$100)-1),ROW(Input!C1)))

    Copy down and across.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup Value for based on Certain Criteria

    In B2 cell of Output Sheet - Array Formula Requires Ctrl+Shift+Enter
    Formula: copy to clipboard
    =IFERROR(INDEX(Input!$C$2:$D$16,SMALL(IF(Input!$A$2:$A$16=$A2,ROW(Input!$A$2:$A$16)-1),COUNTIF($A$2:$A2,$A2)),COLUMN(A$1)),"")


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    10-20-2005
    Posts
    130

    Re: Lookup Value for based on Certain Criteria

    Thanks to both of you. Both Formulas worked for me.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup Value for based on Certain Criteria [Solved]

    ...................

+ 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