+ Reply to Thread
Results 1 to 27 of 27

double match then find out item

  1. #1
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    double match then find out item

    Hi all,
    i am using a formula but did not get desired result. kindly help me.
    see the attached file, highlighted are results but formula is not giving me OK result. there are little bit difference in items based on invoices and qty.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: double match then find out item

    Your VLOOKUP is failing, ie there is NO data on the "OK-DATA" sheet that begins "MD-NCEUP50" for 17-16-new!C5.
    The same with the other N/A errors.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi special-K,
    please see again attached sheet. items are there in little bit differences. see the pic. actually i want to see the items are mismatch in these invoices.
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: double match then find out item

    I'm gonna need a more verbose description of the problem as I cant see why youve highlighted those ones in green.

  5. #5
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi special-K,
    please see the pic. its clear you every thing. if you have required more clarification please tell me.
    Thanks.
    Attached Images Attached Images

  6. #6
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    in this scenario some items are mostly close to each other BUT last word must be different, not possible to perfect match to each other.
    See MD-NCEUP4006 last work in OK data sheet MD-NCEU4006X. THIS IS VERY DIFFICULT TO ME HOW TO SETTLE THIS ISSUE. same as top one.

  7. #7
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: double match then find out item

    Sorry this problem seems to be quite complex and I don't have time to solve this as I am at work.
    Hopefully someone else will be able to help you.

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

    Re: double match then find out item

    Please explain why you pick these value on each row, especially row 3, 6, 8, 11

    Maj.jpg

  9. #9
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi Bo_Ry,
    thanks for your reply,
    actually theses reports collects from two different system. one is 17-18new sheet and other is OK-DATA sheet. i merge INV + ITEM concentrate formula and apply vlook(b2,ok-data!A2:A50000,4,0) to find KIP No, this main objective. OK-DATA sheet i remove most of column because file is too big so remove merge cell inv + Item in OK-DATA sheet. where this formula break the result is #N/A out of 10000 (item + invoice) cell. its mean 723 item + invoices are not match and did not find KIP No. then i copy only #N/A result in other sheet which i give you.
    so i now i check and correct where is a missing in items. to find out KIP. when item will OK then Vlookup find KIP No. this is main problem.
    currently i am working on this project. now i apply new formula in new sheet match invoice and item and pick accurate item from OK-DATA sheet, because i have to set 17-18new sheet.
    if you have any other idea to solve this issue you can do that, move any column any where, you can do that.
    one possiblity in my min d is:
    if all 17-18new sheet invoices are match to OK-DATA sheet and remove all other invoices so then it will easy to identify item. OK-DATA sheet invoices are more than 33000.
    please see new attached sheet.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    invoices can be deleted in OK-DATA sheet quickly with MACRO or other than macro.

  11. #11
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    SUMIFS can give just ITEM from OK-DATAsheet after matching invoice and qty?

  12. #12
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    can you tell me why conditional formatting is not working?
    Attached Images Attached Images

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: double match then find out item

    This is a different issue - please start a new thread with a new thread title. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  14. #14
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi AliG,
    ok i start a new thread BUT actually this is a part of this.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: double match then find out item

    But6 it's about conditional formatting. This is different to what you were asking for at the start of the thread.

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

    Re: double match then find out item

    You still not explain why you pick each item from OK-DATA.

    Eg row 6 Item is MD-NCEUP5015 but you pick MD-NCEU27515, while Data from OK-DATA has a closer match like MD-NCEU5015X, but still missing "P".

    This is just 1 sample if other samples require different logic, this gonna be very hard to do.
    Attached Images Attached Images

  17. #17
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi,
    actually both items are different in our inventory system, MD-NCEUP5015 and MD-NCEU5015X is different to each other. cost of both item is differ. KIP No tell me exact cost of item. if wrong item pick the cost will be wrong put. after this i have to add column COST of Item. so this is very important to pick right. i am stuck in this problem because entry are too many 723 invoices problem. manual working is too difficult to set filter and check each item.

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

    Re: double match then find out item

    Quote Originally Posted by majidsiddique View Post
    KIP No tell me exact cost of item. if wrong item pick the cost will be wrong put.
    All items in Post#16 are different but same KIP-No.

    Quote Originally Posted by majidsiddique View Post
    this is very important to pick right.
    How do I know if I pick it right? why do you pick MD-NCEU27515 for MD-NCEUP5015, what are the criteria?

  19. #19
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi Bo_Ry,
    criteria is simple, if KIP No is same cost will not change, no effect in costing, when KIP No change then cost change. you can pick any one item after matching Invoice and Qty. Invoice A10033 there are three item Qty 5, BUT KIP No is same, you can pick anyone of them. see the pic
    Attached Images Attached Images

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

    Re: double match then find out item

    Please try

    Item
    =LOOKUP(1,1/('OK-DATA'!$B$2:$B$1999=$E2)/('OK-DATA'!$D$2:$D$1999=$I2),'OK-DATA'!C$2:C$1999)

    KIP
    =LOOKUP(1,1/('OK-DATA'!$B$2:$B$1999=$E2)/('OK-DATA'!$D$2:$D$1999=$I2),'OK-DATA'!G$2:G$1999)

    If QTY are the same but different KIP, then what are the criteria?

  21. #21
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    please let me check

  22. #22
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    can i upload 5 MB file?

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

    Re: double match then find out item

    Please don't upload 5 MB, we only need 20-30 rows of the sample.

  24. #24
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    You are super, really fantastic job,
    i never forget this.
    Thanks a lot in my deep heart.
    your question is valid, If QTY are the same but different KIP, then what are the criteria? i cannot give any criteria.
    after putting the cost value then one more criteria will be there. some items are free of cost. so it is difficult to understand you.
    kindly tell me how to add 2 more criteria in this formula.
    =LOOKUP(1,1/('OK-DATA'!$B$2:$B$1999=$E2)/('OK-DATA'!$D$2:$D$1999=$I2),'OK-DATA'!C$2:C$1999)
    i want add more than 2 criteria, how to add on it.
    Add it,
    ('OK-DATA'!$C$2:$C$1999=$F2)/('OK-DATA'!$G$2:$G$1999=$M2) THEN PICK KIP No- from H:H.
    Thanks again BOSS.

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

    Re: double match then find out item

    Like this

    =LOOKUP(1,1/('OK-DATA'!$B$2:$B$1999=$E2)/('OK-DATA'!$D$2:$D$1999=$I2)/('OK-DATA'!$C$2:$C$1999=$F2)/('OK-DATA'!$G$2:$G$1999=$M2),'OK-DATA'!H$2:H$1999)

  26. #26
    Forum Contributor
    Join Date
    12-08-2018
    Location
    pakistan
    MS-Off Ver
    2013-365
    Posts
    500

    Re: double match then find out item

    Hi Bo_Ry,
    Thanks for this.

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: double match then find out item

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. Match Item with Invoice and Replace any missing Item AUTO
    By majidsiddique in forum Excel General
    Replies: 17
    Last Post: 01-15-2019, 03:43 AM
  2. Find available item from an Inventory file, searcg alternative Item if not avail
    By Oscar_Italy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2017, 08:34 AM
  3. [SOLVED] Find item(s) in a cell and match to item(s) in a list
    By seleseped in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2017, 12:06 PM
  4. Replies: 5
    Last Post: 03-01-2017, 05:41 PM
  5. [SOLVED] Vba to match item description and copy/paste item code to other sheet
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2017, 11:29 AM
  6. filter by double clock on item
    By sterio in forum Excel General
    Replies: 2
    Last Post: 01-09-2017, 02:42 PM
  7. [SOLVED] Using find replace to first find two double quotes and replace with a single double quote
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2015, 10:13 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