+ Reply to Thread
Results 1 to 4 of 4

Vba code for sumproduct w/ multiple worksheets

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    Berkeley, CA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Vba code for sumproduct w/ multiple worksheets

    Hi,

    I have one spreadsheet with my product codes and another with my inventory. The code goes... color, finish, width, etc..
    I could make a sumprod to check availability of product however the variables could change. Sometimes the sales people need to know the availability only of a certain color but sometimes they might need to know the availability of a specific product (color, finish, width..). My goal is to have a input w/ dropdown lists where they can either input the whole product code or only some variables.

    It is almost like comparing two pivot tables.

    Any ideas in VBA?

    Thanks,

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Vba code for sumproduct w/ multiple worksheets

    0_o

    can you post an example?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Vba code for sumproduct w/ multiple worksheets

    Why VBA and not just some conditional formatting/expressions. Sounds like you just need a current inventory based on a couple varying values.

    Additionally, seeing what kind of data and structure we're working with through an example workbook would better help us understand the request. Of course, any confidential information should be masked or removed.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  4. #4
    Registered User
    Join Date
    10-19-2011
    Location
    Berkeley, CA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Vba code for sumproduct w/ multiple worksheets

    I made a example sheet to help you understand the issue. The problem with using formulas is that it will get huge with so many variables. Besides I want to be able to check only color for instance and leave the other variables blank and still get a availability.

    Thanks a lot for you attention!!!
    Attached Files Attached Files

+ 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