+ Reply to Thread
Results 1 to 2 of 2

Calculating an inventory using Vlookup or some other function?

  1. #1
    Registered User
    Join Date
    03-27-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Calculating an inventory using Vlookup or some other function?

    Hello all... I have been using this site for awhile now, and I am trying to figure out some formulas and having ZERO luck. I have attached the file so that you guys can see what I'm trying to accomplish. If I (you) can get this figured out.. i will be a rock star at my company!!!!!! ANY and ALL help would be greatly appreciated!!

    So here is what I need to figure out...
    Column A-F have been setup with drop down and dependent drop down menus which I knew how to do, Column J and K have the breakdown of all the chemicals that we use. When an item is brought into the inventory, the person would add a line, pick the date/vendor/desc/etc... Col F is in/out... and gallons is the last important spot. Col F would be add/subtract based on the in/out drop down used to updated Col K. the problem is i don't know how to create the dynamic link that when the chemical in col C is selected, it will update the correct total in col K. I tried sumif, vlookup, and a few others, but i am by far not a programer and have no idea how to make the statements.

    Any ideas guys/girls??? I def need to get this figured out.



    Chemical Tracker Dynamic.xlsxChemical Tracker Dynamic.xlsx

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Calculating an inventory using Vlookup or some other function?

    Not sure you're looking for a VBA solution, and this can likely be accomplished with some SUMIF's, but I suck at Excel formulas.

    To use this code:
    1. Open the VBA editor by pressing Alt+F11 in Excel
    2. In the window that opens, you'll see a project explorer window on the left hand side
    3. Find your spreadsheet, then listed under that, find the sheet you want this to run on (in your example, it would be Sheet1)
    4. Double click that sheet
    5. Paste the code in the white space to the right

    Now the code will run automatically any time you enter a number into column G, assuming columns C and F are also filled out for that row.

    Please Login or Register  to view this content.

+ 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. Need help in calculating Small business Inventory
    By Mhussein11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2015, 12:55 PM
  2. Cannot get SUMPRODUCT to work with calculating inventory
    By lorne17 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-12-2013, 10:30 AM
  3. calculating inventory
    By [email protected] in forum Excel General
    Replies: 0
    Last Post: 01-23-2012, 05:54 PM
  4. Calculating Inventory at the End of the Month
    By mitylene in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2009, 04:43 AM
  5. order calculating inventory
    By mrpeabodys in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2007, 08:47 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