+ Reply to Thread
Results 1 to 3 of 3

automated classification

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Location
    The Netherlands
    MS-Off Ver
    Office for Mac 2016; MS Office 2016 for Windows
    Posts
    110

    automated classification

    Hi all,

    I'm struggling with the following issue. I'll try to explain as simple as possible..

    I have a column D with partnumbers, a column E with units per partnumber and a column F with a classification. This particular column needs to be filled automatically.
    Column A and B are the criteria for that classification.

    I have 3 classifications, A (250.000 units), B (100.000 units) and C (50.000 units).
    All parts with a cumulated qty of up to 250.000 needs to get classification A.
    All parts with a cumulated qty between 250.000 and 350.000 units (A + B) needs to get classification B.
    All parts with a cumulated qty between 350.000 and 400.000 units (A + B + C) needs to get classification C.

    How can I get column F filled with the respective cell value in A2, A3 or A4, based on their qty in column E?

    Many thanks in advance for your time and effort!!

    Kind regards
    Peter
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: automated classification

    I looked at your spreadsheet and I cannot determine how you derived the classifications in column F. They do not appear to relate to the information in the thread above and they do not appear to relate to cells A2, A3 and A4. Please clarify your logic.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Location
    The Netherlands
    MS-Off Ver
    Office for Mac 2016; MS Office 2016 for Windows
    Posts
    110

    Re: automated classification

    Hi Alan,

    The classifications are calculated as follows:
    Part 1 has a qty of 100000 (is < 250000 (value B2), so classification A)
    Part 2 has a cumulated qty of 100000 (part 1) + 90000 = 190000 (is < 250000, so classification A)
    Part 3 has a cumulated qty of 190000 (part 1+2) + 45000 = 235000 (is < 250000, so classification A)
    Part 4 has a cumulated qty of 235000 (part 1+2+3) + 35000 = 270000 (is > 250000, but within range of 350000 (classification A + B), so classification B)
    all next parts will have classification B up to a cumulated qty of 350000. All parts after that, receive classification C.

    I hope it makes a bit more sense now... if not, please let me know!!

    Thanks again for your assistance!!
    Kind regards
    Peter

+ 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