+ Reply to Thread
Results 1 to 2 of 2

Categorize by percentage add up to 80%(15%+65%) and 20%(14%+6%) of sales

  1. #1
    Registered User
    Join Date
    02-22-2020
    Location
    malaysia
    MS-Off Ver
    365
    Posts
    2

    Categorize by percentage add up to 80%(15%+65%) and 20%(14%+6%) of sales

    Hi,
    Need help to create a code for :
    Item | price | sales qty | percentage of total | formula i need to generate to fill in cell(text)
    A 100 2 0.8% RED
    A 200 11 7% YELLOW
    A 300 50 30% GREEN
    A 400 1 0.6% RED
    A 500 30 18% LIGHT GREEN
    A 600 70 42% GREEN
    total sales 164
    b 100 2 0.8% RED
    b 200 11 7% YELLOW
    b 300 50 30% GREEN
    b 400 1 0.6% RED
    b 500 30 18% LIGHT GREEN
    b 600 70 42% GREEN
    total sales 164 ( just assume a and B have different sales qty, i just need the percentage)

    To determine the color. good sales consist of 80% of sales ( 65% of total 80% will be green, 15% of total 80% will be light green) and 20% of sales will be bad sales ( 14% will be bad and 6% will be terrible)
    Rank 1 to 6 ( since got 6 price , but my actually work might have more price, and more item type as well and i need to give each type of item individual 100% (80%good sales and 20% bad sales). So basically, if rank 1 is 42%( not yet reach 65%) it is Green. Even it it is exceed 65%, it is still green because it is rank 1.
    For rank 2, depends on rank 1 percentage, it might be green or light green. Since rank 1 not yet fully occupy 65%, in this event, rank 2 also is consider green. But if rank 1 exceed 65% and below 80%, rank 2 have to be light green. For rank 3, if rank 1 + rank 2 > 65%, it have to be light green, but if rank 1 + rank 2 < 65%, rank 3 also will be consider green. But if rank 1, or rank 1 + rank 2 > 80%, rank 3 will no longer become light green, it will become yellow ( since the remaining 20% will be categorize as bad or terrible sales). The last rank will always be red.
    To do ranking for each item type, i manage to find a video to do ranking . But i was stuck after that. Thanks.
    Attached Files Attached Files
    Last edited by hpares; 02-22-2020 at 12:37 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Categorize by percentage add up to 80%(15%+65%) and 20%(14%+6%) of sales

    Welcome to the forum.

    There are instructions at the top of the page telling you how to attach your workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 1
    Last Post: 02-08-2020, 10:32 PM
  2. [SOLVED] Percentage of sales
    By chris_kenny in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-03-2019, 05:24 AM
  3. Sales percentage forumula
    By kirb112 in forum Excel General
    Replies: 5
    Last Post: 08-27-2014, 03:18 AM
  4. Replies: 1
    Last Post: 11-19-2013, 12:52 PM
  5. Calculate Percentage of Sales
    By iluvfnky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2013, 07:30 AM
  6. sales percentage lookup
    By Terry guthrie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2007, 08:06 PM
  7. [SOLVED] percentage of sales
    By Kay LJ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2005, 10:06 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