+ Reply to Thread
Results 1 to 4 of 4

Subtracting and adding from a stock sheet according to the item code

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    18

    Subtracting and adding from a stock sheet according to the item code

    This one may be impossible, a challenge or ridiculously easy but I cant get my head around it.

    In the attached stock take sheet, I have a job requisition form, on that form I have 3 columns ("B","C","D")
    The columns are labelled as follows
    O - amount of items ordered
    R - amount of items recieved
    Rt - amount of items returned

    I have a simple lookup formula for item code which then brings in the item description, stock quantity, cost, etc into the job requisition.

    Ok now that you have a background on whats going on, Heres what I'm hoping to accomplish,

    I want excel to subtract items from stock if an amount is entered into the items recieved column
    and to add the items to stock if an amount is entered into the items returned column,

    Obviously the problem comes in that it most use the item code as a reference to know which stock item to subtract or add to.

    Is this possible?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Subtracting and adding from a stock sheet according to the item code

    Use this code.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-04-2013
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Subtracting and adding from a stock sheet according to the item code

    No luck there, but thanks anyways, I have attached the spreadsheet again with comments to try make it a bit clearer.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Subtracting and adding from a stock sheet according to the item code

    Pl see attached file.
    code is for Sheet "OUT".

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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