+ Reply to Thread
Results 1 to 4 of 4

Return a Qty & Ref.Code as per lookup criteria in column A.

  1. #1
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Return a Qty & Ref.Code as per lookup criteria in column A.

    Hi,

    Required a formula help to return a Qty and Ref# Code in (Column C:D) as per lookup criteria Item Code available in column A.

    The main data available in column I to X with help of these data return a required results.


    Sample Sheet enclosed with the expected results highlighted in yellow color.


    Thanks for the help.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Return a Qty & Ref.Code as per lookup criteria in column A.

    As you use Excel 365 my proposition is not to use formulas, but Power Query (which is built in Office365 application).
    See ribbin Data, and Queries and connections to see ho data has been unpivoted into green table.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Return a Qty & Ref.Code as per lookup criteria in column A.

    Many thanks kaper for your PQ Solution.

    However, Could someone suggest the formula solution for dynamically update the values without clicking refresh.


    Thanks,

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Return a Qty & Ref.Code as per lookup criteria in column A.

    Maybe this:

    =IFERROR(INDEX(INDEX($K$4:$X$8,MATCH(A4,$I$4:$I$8,0),),AGGREGATE(15,6,COLUMN($K$2:$X$2)-COLUMN($K$2)+1/(INDEX($K$4:$X$8,MATCH(A4,$I$4:$I$8,0),)<>""),COUNTIF(A$4:A4,A4))),"")

    and this:

    =IFERROR(INDEX($K$2:$X$2,AGGREGATE(15,6,COLUMN($K$2:$X$2)-COLUMN($K$2)+1/(INDEX($K$4:$X$8,MATCH(A4,$I$4:$I$8,0),)<>""),COUNTIF(A$4:A4,A4))),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. [SOLVED] Lookup - find multiple occurrences in column of single criteria; return value from other c
    By carlito2002wgn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-12-2020, 10:13 AM
  2. Lookup based on multiple criteria and return value in column
    By Ariff_Chowdhury in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-01-2019, 10:08 PM
  3. Replies: 1
    Last Post: 04-30-2018, 12:23 PM
  4. [SOLVED] Return Lookup value online if column matches criteria?
    By rgunter in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-19-2017, 02:06 PM
  5. Lookup from a different column to return sum value if criteria is met.
    By randypang in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-20-2013, 10:49 AM
  6. Replies: 7
    Last Post: 08-04-2013, 03:41 PM
  7. Replies: 3
    Last Post: 11-03-2010, 04:05 AM

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