+ Reply to Thread
Results 1 to 5 of 5

Auto-adjust stock levels based on drop-down input

  1. #1
    Registered User
    Join Date
    02-24-2016
    Location
    Canada
    MS-Off Ver
    MS OFFICE 2013
    Posts
    5

    Question Auto-adjust stock levels based on drop-down input

    Hello,

    I am attempting to create a shipping request form for a department in my company to use. At this point, I have it set up so that the user can fill out relevant fields, select what they want to ship based on a drop down, and have it email and save itself using a unique reference. This all works exactly as it should.

    Please bear with me while I attempt to explain my question.

    There are two worksheets in this file. The first sheet of this spreadsheet contains the ship request. The second worksheet contains a list of part numbers in column A, a detailed description of these part numbers in column B, and the quantity of that item that is in stock in column F. When the user selects their part number from the drop down in the ship request, the description is pulled from the part number sheet column B using VLOOKUP and auto-populated into the ship request. After that, the user enters the quantity of the item that they want to ship. Here is where my problem lies:

    What I would like is when the user selects the part from the drop down, and then enters the quantity to ship, I need that entered quantity to be subtracted from the quantity in stock (column F on the part number sheet), based off the value selected in the drop down. I've been trying all sorts of things, but my difficulty lies in having the drop down value dictate which cell the subtraction takes place in.

    Hopefully this makes sense! Can any skilled Excel users out there help me out?
    1.jpg
    2.jpg

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Auto-adjust stock levels based on drop-down input

    Please upload an Excel file showing expected results.

  3. #3
    Registered User
    Join Date
    02-24-2016
    Location
    Canada
    MS-Off Ver
    MS OFFICE 2013
    Posts
    5

    Re: Auto-adjust stock levels based on drop-down input

    Please see attached Dropbox link. Let me know if anything is unclear. Thanks in advance for any help!

    https://www.dropbox.com/s/rajpzh2ur8...mple.xlsx?dl=0
    Last edited by generalxmayhem; 02-25-2016 at 10:08 AM.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Auto-adjust stock levels based on drop-down input

    You will need to use VBA for this as a cell cannot contain both a value and a formula.

  5. #5
    Registered User
    Join Date
    02-24-2016
    Location
    Canada
    MS-Off Ver
    MS OFFICE 2013
    Posts
    5

    Re: Auto-adjust stock levels based on drop-down input

    OK - I will look into that option. Thank you very much.

+ 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. How to check stock levels using a CSV?
    By Mikec087 in forum Excel General
    Replies: 1
    Last Post: 02-08-2015, 09:58 PM
  2. Identify the earliest expiry date on stock based on current stock levels
    By julie86xx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2013, 01:08 AM
  3. [SOLVED] Stock Control - Alert user to low stock levels.
    By Kaies in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2013, 08:56 AM
  4. updating stock levels using a formula
    By kompshop in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2013, 11:14 PM
  5. Macro to adjust graphs based on input
    By geotr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2010, 03:31 PM
  6. Stock levels
    By penzer in forum Excel General
    Replies: 17
    Last Post: 04-01-2008, 05:14 AM
  7. stock levels
    By jamie1234 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-13-2007, 05:40 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