+ Reply to Thread
Results 1 to 4 of 4

Lookup, Match, Return

  1. #1
    Registered User
    Join Date
    12-18-2018
    Location
    Phuket, Thailand
    MS-Off Ver
    Windows 11 - MS Office 365
    Posts
    88

    Red face Lookup, Match, Return

    Hey gang,

    I would like to be able to find and match a value in 23 collumns, and then return the value in another column.

    On the sheet attached - columns A through W are a list of product codes. I would like the value listed in column AE (green), to be matched with any value in the large red area (A2:W806), and to return the COST, in column AA.

    Thank you so much.

    Danny
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Lookup, Match, Return

    Please try at AF2

    =INDEX(AA:AA,MAX(INDEX(ROW($A$2:$W$806)*($A$2:$W$806=AE2),)))
    Attached Files Attached Files

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

    Re: Lookup, Match, Return

    AF2=IF($AE2<>"",SUMPRODUCT(($A$2:$W$806=$AE2)*($AA$2:$AA$806)),"")

    Copy down

  4. #4
    Registered User
    Join Date
    12-18-2018
    Location
    Phuket, Thailand
    MS-Off Ver
    Windows 11 - MS Office 365
    Posts
    88

    Re: Lookup, Match, Return

    Thank you so much guys! It worked a treat!

+ 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. Help - Lookup, Match, Return Specific Value
    By ravi.n in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2020, 11:40 AM
  2. Two-way lookup with INDEX and MATCH return closest match
    By Mschelle6 in forum Excel General
    Replies: 8
    Last Post: 12-06-2018, 02:03 PM
  3. [SOLVED] Lookup value and match with 2 criteria and return another value
    By AlphaCraig in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2012, 07:35 PM
  4. lookup or match - Return nearest match
    By devouk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-05-2012, 06:11 AM
  5. LOOKUP to return closest match
    By Kateabc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2008, 12:56 PM
  6. [SOLVED] can lookup return err if no match found
    By Kim Greenlaw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-11-2006, 01:45 PM

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