+ Reply to Thread
Results 1 to 5 of 5

look-up issue with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    look-up issue with multiple criteria

    Hello All

    I have faced issue with lookup ...

    attached file shows in sheet POs:
    1. PO numbers (column "A")
    2. Material (column "B")
    3. Vendor (column "C")
    4. document type (column "D")
    5. invoice date (column "E")

    in sheet MAIN I'm trying to lookup the latest invoice date (column "E") for listed parts based on criteria as following:
    1. part number matches document type - "NB"
    2. part number matche PO number - 47xxx
    3. lookup excludes certain suppliers (listed A4:A15 listed in sheet MAIN)

    in sheet Main in column "B" i applied formula:
    =MAX(IF(($A18=POs!$B$2:$B$2160)*(POs!$D$2:$D$2160=POs!$D$2)*(LEFT(POs!$A$2:$A$2160, 3)="470")*(ISERROR(MATCH(POs!$C$2:$C$2160, MAIN!$A$1:$A$15, 0))), POs!E2:$E$2106, ""))


    however it seems formula is not working correctly as for example part in line 39 (MAIN sheet) - 161A4305-2:81205 returns #N/A while part belongs to 47xxx and "NB" criteria.
    there are more #N/A that should have value after lookup

    Can you please advise where is the problem and what shall be corrected?
    maybe some other formula?

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: look-up issue with multiple criteria

    your PO date range is incorrect - should be absolute, and reference same rows, i.e: POs!$E$2:$E$2160

  3. #3
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: look-up issue with multiple criteria

    Quote Originally Posted by XLent View Post
    your PO date range is incorrect - should be absolute, and reference same rows, i.e: POs!$E$2:$E$2160
    Hi
    thanks ... you are absolutely right .. I have missed that
    It was corrected and there are still errors .... in line 85, 88 and 104 and those parts are with 47xx Po number

    any ideas why???

    thanks
    Attached Files Attached Files
    Last edited by adsako; 03-12-2019 at 09:52 AM. Reason: file attached

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: look-up issue with multiple criteria

    the date range is still wrong, you are referencing row 2106 rather than 2160 - as highlighted in prior post.

  5. #5
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: look-up issue with multiple criteria

    Hi
    apparently I'm blind
    thanks

+ 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] Multiple Criteria on Job Costings issue
    By Vibro in forum Excel General
    Replies: 4
    Last Post: 06-05-2018, 01:37 AM
  2. Issue with SUMPRODUCT on Multiple Criteria
    By mrichardson.music in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-11-2018, 09:04 AM
  3. [SOLVED] Index/Match Multiple Criteria Issue
    By freybe06 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2014, 05:54 PM
  4. [SOLVED] AutoFilter Multiple Criteria Issue
    By Dnass in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2013, 01:11 AM
  5. sumproduct with multiple criteria issue
    By jw01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-19-2013, 12:55 AM
  6. sumproduct issue with multiple criteria
    By jw01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 04:25 PM
  7. D funtion and multiple criteria forumla issue.
    By beat in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2013, 10:29 AM

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