Count based on the vlookup with subtract

  • Hi,


    Column A,B and C contain of Order No, Part No and Qty. I need to workout the stock status of each order based on the raw data Column F and G contain of Part No and Stock. Each order appear the same part no


    Example;


    The following part no A5697KT we have customer order 4 and we had a stock 8 nos, the part no appear the first order then formula return the stock 8, if second time return the same part with different order no then formula return the stock 7.


    Any help would be much appreciated.

    A5697KT18A5697KT
    A7119KT12A7119KT
    A5696KT13A5696KT
    A7117KT14A7117KT
    A5697KT17
    A7119KT11
    A5696KT12
    A7117KT13
    A5697KT16
    A7119KT10
    A5696KT11
    A7117KT12
    A5697KT15
    A7119KT10
    A5696KT10
    A7117KT11
  • crossposted: https://www.excelforum.com/exc…lookup-with-subtract.html


    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.


    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!


    Read the following link to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).


    https://www.excelguru.ca/content.php?184


  • Thanks for your help and reply and sorry for the late reply but requirement is different I want formula in column D2. Please assist me because we huge data and customer order.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!