+ Reply to Thread
Results 1 to 4 of 4

shortages divided by suppliers

  1. #1
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    shortages divided by suppliers

    Hello.

    I have a list of part numbers (appr. 8000 rows) and on some parts there are shortages in our warehouse.

    I am using this function to find how many shortages there are all together:
    =SUMPRODUCT((MaterialController=$A7)*(Demand>0)*((Stock<Demand)))
    This works very well and gives me how many shortages the current Material Controller in cell A7 have.

    The Material controller have a number of Suppliers connected to him. I would like to summarize how the shortages are divided between all the suppliers connected to the current material controller.

    Lets say that the current material controller have 10 suppliers and only 5 of them have shortages. How can I get that only 5 suppliers are affected from my part list? I have a defined range called SupplierNumber where all suppliers are listed by part number.

    The table contains these column names:
    PartNumber
    MaterialController
    Demand
    Stock
    SupplierNumber

    Does anyone have any suggestions how I can get this information with a simple function?

    If I have not been precise, please ask and I will contribute with more information.

    /Anders

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Have you tried a simple pivot table ?

    Carim

  3. #3
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329
    Hello Carim

    That would work but the way I am presenting the results are not possible to use the pivot table on.

    Too bad though.

    /Ander

  4. #4
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329
    Hello again.

    I found this very usefule code on the net:
    =SUM(IF(FREQUENCY(SupplierNumber;SupplierNumber)>0;1))

    This counts all unique supplier numbers and returns the quantity of suppliers connected to the parts in my list.

    How can I put this in my function:
    =SUMPRODUCT((MaterialController=$A7)*(Demand>0)*(( Stock<Demand)))

    To only get unique suppliers to the current material controller?

    /Anders

+ 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