+ Reply to Thread
Results 1 to 5 of 5

Creating an itemized list on a sheet based off of cell values on another

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Creating an itemized list on a sheet based off of cell values on another

    I have an inventory sheet I'm working on, and a primary function of it I would like to implement is a way to create a shopping list and print it. The inventory sheet has a qty on hand field, and also a target inventory field - subtract the latter from the former and you have a number of that item that should be purchased on the next shopping trip. I'm assuming it will take some VBA functionality to pull those items (including other pertinent fields such as the item name, size, price, etc.) and place them on a new sheet to create a list. There are a lot of SKUs, enough that I'm trying to pull only the items that need to be purchased to create the list and avoid either a lot of excess white space, or having every item on there including the ones that don't need to be. Hope I'm made that clear enough....

    I am comfortable with trying to implement some VB, but I'm not that familiar with it - so if anyone has suggestions on how to do so I would really appreciate it.

  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
    53,048

    Re: Creating an itemized list on a sheet based off of cell values on another

    sounds like a pivot table might be worth looking at? without some sample data tho, its hard to say for sure
    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
    06-07-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Creating an itemized list on a sheet based off of cell values on another

    Maybe a visual will help... The 'Qty.' and 'Target' columns represent the # of bottles on hand vs. the target inventory #, respectively. As a flag, I will subtract items in column G from those in H - So, if my target inventory is 5 and I have 3 'Qty.' on hand, then I will want to pick up two of whatever item that is.

    liquor.JPG

    I'd like to be able to take only those items, and create a list I can print to take shopping. So, in the above example, lets just say I need 2 bottles of the 10 yr. 750ml size, and 1 bottle of the 21 yr. 1.75L size (which I realize they probably don't even make in that size, but that's not important for the example). So then my intention would be to have a separate sheet that automatically pulls those two items and creates a list like so:
    Name Size Price #-to-purchase
    Bushmill's 10 year 750ml $XX.xx 2
    Bushmill's 21 year 1.75L $XX.xx 1

    Not present would be all the items I don't care about for this scenario, such as the other Bushmill's varieties, or whatever else.

  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
    53,048

    Re: Creating an itemized list on a sheet based off of cell values on another

    can you upload a sample workbook for me to look at please? im sure we can come up with something for you

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Creating an itemized list on a sheet based off of cell values on another

    Quote Originally Posted by FDibbins View Post
    can you upload a sample workbook for me to look at please? im sure we can come up with something for you
    Indeed. Thanks for the help! I seem to know just enough to get in over my head, but I'm willing to learn whenever someone's gracious enough to impart some wisdom

    liquor_.xlsm

+ 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