+ Reply to Thread
Results 1 to 6 of 6

Excel Lookup Problem

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    Wigan, England
    MS-Off Ver
    Excel 2016
    Posts
    14

    Excel Lookup Problem

    Hi all,

    I've attached the file of my problem and my desired output.

    I'll try and explain it the best I can, apologies.

    On the left hand side we will have a list of customers, locations and IDs. The IDs are linked to a KPI, I'm looking for everything with a certain ID to the be populated on separate lines(as per the attachment)

    Thanks so much in advance, i've spent so much time on this on Google and i cant find the answer.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Excel Lookup Problem

    Ciao

    in N4 to be copied across

    =IFERROR(INDEX(A$2:A$5,AGGREGATE(15,6,ROW($2:$5)-1/(($C$2:$C$5=$H$2)+($C$2:$C$5=$H$3)),ROWS($1:1))),"")

    Regards
    Attached Files Attached Files
    Last edited by canapone; 09-16-2020 at 05:00 AM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    01-18-2012
    Location
    Wigan, England
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Excel Lookup Problem

    Quote Originally Posted by canapone View Post
    Ciao

    in N4 to be copied across

    =IFERROR(INDEX(A$2:A$5,AGGREGATE(15,6,ROW($2:$5)-1/(($C$2:$C$5=$H$2)+($C$2:$C$5=$H$3)),ROWS($1:1))),"")

    Regards

    Thanks so much this works really well!!!

  4. #4
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Excel Lookup Problem

    N4=IF(N$3<>"",IFERROR(INDEX(A$2:A$5,AGGREGATE(15,6,ROW(A$2:A$5)-ROW(A$2)+1/(ISNUMBER(MATCH($C$2:$C$5,$H$2:$H$3,0))),ROWS($A$2:A2))),""),"")


    Copy across and down

    format column Q as date

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

    Re: Excel Lookup Problem

    A bit shorter and error trap:

    Please Login or Register  to view this content.
    Quang PT

  6. #6
    Registered User
    Join Date
    01-18-2012
    Location
    Wigan, England
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Excel Lookup Problem

    Quote Originally Posted by bebo021999 View Post
    A bit shorter and error trap:

    Please Login or Register  to view this content.
    Thanks, that looks a bit easier to work with on my live example. I hope i can get it to work

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Picture Lookup in Excel problem
    By yjohari in forum Excel General
    Replies: 8
    Last Post: 07-01-2017, 02:33 AM
  2. Replies: 0
    Last Post: 06-18-2015, 09:58 AM
  3. V-LOOKUP PROBLEM - excel 2007
    By mandura in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2015, 03:45 AM
  4. Lookup problem (Marines and Excel don't mix very well)
    By SemperFiDevilDog in forum Excel General
    Replies: 4
    Last Post: 10-22-2014, 09:15 AM
  5. Excel lookup problem
    By Pjcan1 in forum Excel General
    Replies: 4
    Last Post: 06-14-2012, 04:08 PM
  6. [SOLVED] Excel 2003 LOOKUP problem
    By Abrielle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-07-2012, 05:35 AM
  7. [SOLVED] Excel Lookup?? Problem!
    By LROCCO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2006, 08:44 PM

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