Results 1 to 5 of 5

Vlookup with subtract

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Vlookup with subtract

    Excel Legends,

    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 contains of Part No and Stock.

    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.

    ORDER NO PART NO QTY STOCK PART NO STOCK
    2845 A5697KT 1 8 A5697KT 8
    2845 A7119KT 1 2 A7119KT 2
    2845 A5696KT 1 3 A5696KT 3
    2845 A7117KT 1 4 A7117KT 4
    4891 A5697KT 1 7
    4891 A7119KT 1 1
    4891 A5696KT 1 2
    4891 A7117KT 1 3
    5421 A5697KT 1 6
    5421 A7119KT 1 0
    5421 A5696KT 1 1
    5421 A7117KT 1 2
    6821 A5697KT 1 5
    6821 A7119KT 1 0
    6821 A5696KT 1 0
    6821 A7117KT 1 1
    Attached Images Attached Images
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to create Add/Subtract VBA Code with Vlookup ?
    By toradoya in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-06-2016, 09:42 AM
  2. Vlookup to subtract 2 columns
    By vegacapfx in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2015, 02:38 PM
  3. Need help with VLOOKUP or INDEX/MATCH with Subtract formula
    By drheenas in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2014, 07:14 PM
  4. Replies: 2
    Last Post: 08-13-2013, 09:36 AM
  5. [SOLVED] Subtract Using Countifs & Vlookup
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-02-2012, 11:25 AM
  6. Excel 2007 : vlookup,sum,subtract formula help
    By strokedmaro in forum Excel General
    Replies: 3
    Last Post: 06-22-2010, 12:47 AM
  7. Vlookup and subtract when second occurrence of ID
    By transportplanner in forum Excel General
    Replies: 13
    Last Post: 06-16-2010, 09:23 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