+ Reply to Thread
Results 1 to 8 of 8

Inventory using drop-down lists

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    Alliance, NE
    MS-Off Ver
    Office 365
    Posts
    18

    Inventory using drop-down lists

    Hello all,

    I am trying to build a simple inventory form for the company I work for. What we need is a spreadsheet that will keep a running total of inventory between 3 different locations. There will be several products to keep track of. The "location" tabs need to report the current number in inventory to the "inventory" tab. We are using drop-down lists on the "location" tabs to choose the products. What I need help with is getting the "inventory" tab to calculate the number based on the product selected in the drop-down.

    I hope this makes sense. I have attached a sample of what I am trying to achieve.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Inventory using drop-down lists

    This would form the basis of your formula...
    =SUMIF(Alliance!$E:$E,Inventory!$A2,Alliance!$F:$F)
    You would then just need to adjust the sheet name for each location (do this just for the 1st cell, then copy it down

    I "could" set this up using INDIRECT so that you dont need to change the sheet ref each time, but if you have a LOT of locations and a LOT of products, that could slow your file down. I will give you the formula anyway, and you can try it - if it slows you down too much, use the 1st option...
    =SUMIF(INDIRECT(B$1&"!$E:$E"),Inventory!$A2,INDIRECT(B$1&"!$F:$F"))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-16-2011
    Location
    Alliance, NE
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Inventory using drop-down lists

    That is exactly what I needed! Thank you so much!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Inventory using drop-down lists

    Happy to help

    Which option did you use?

  5. #5
    Registered User
    Join Date
    12-16-2011
    Location
    Alliance, NE
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Inventory using drop-down lists

    I'm looking for a way to notify the users whether quantity numbers should be positive or negative based on the transaction type. Would you happen to know a way to handle that?

    Thanks!

  6. #6
    Registered User
    Join Date
    12-16-2011
    Location
    Alliance, NE
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Inventory using drop-down lists

    I used the first one. Worked perfectly.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Inventory using drop-down lists

    Quote Originally Posted by m_buskirk View Post
    I'm looking for a way to notify the users whether quantity numbers should be positive or negative based on the transaction type. Would you happen to know a way to handle that?

    Thanks!
    What would some expected answers look like?

  8. #8
    Registered User
    Join Date
    12-16-2011
    Location
    Alliance, NE
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Inventory using drop-down lists

    I want the spreadsheet to specify that quantity needs to be positive or negative based on the selected transaction type.

    Ex: Sale = negative number; Return = positive number
    Last edited by m_buskirk; 06-12-2020 at 10:49 AM.

+ 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. [SOLVED] data validation lists - drop down lists too small
    By reglook0736 in forum Excel General
    Replies: 3
    Last Post: 04-24-2015, 12:49 PM
  2. Consolidate inventory using lists
    By mdelator in forum Excel General
    Replies: 6
    Last Post: 10-09-2013, 03:39 PM
  3. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  4. [SOLVED] Inventory from drop down lists.
    By Aussie1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2013, 10:01 PM
  5. drop down lists referencing tables creating other drop down lists!!
    By Stumped- in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-07-2009, 11:29 AM
  6. Lists, how to make drop-down lists optional
    By HarvardMajesty in forum Excel General
    Replies: 2
    Last Post: 05-13-2009, 10:23 AM
  7. Inventory lists, or databases ?
    By Lewis in forum Excel General
    Replies: 1
    Last Post: 06-21-2006, 11:00 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