+ Reply to Thread
Results 1 to 5 of 5

Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

  1. #1
    Registered User
    Join Date
    09-22-2019
    Location
    Korea
    MS-Off Ver
    Windows 10
    Posts
    3

    Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

    Hello all,

    I have run into a bit of problem and hope someone would be able to help me out!

    I'm not sure how to automate the following: To highlight if the top 80% cumulative value of a particular product e.g. A, B,C, D has lesser than 3 customers. In my attachment, the final results I'm trying to achieve are that in column F.

    Thanks in advance!

    Cheers,
    Jon
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

    Hi. Use this as the CF formula:

    =COUNTIFS($A$3:$A$20,$A3,$E$3:$E$20,"<.8")<3

    Don't use whole culmn references in the CF formula. It may get very slow...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    09-22-2019
    Location
    Korea
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

    Hi Glenn, thank you for replying to my post. I'm not too familiar with the abbreviation you used; I'm guessing CF is COUNTIFS function? Also, what is the meaning of culmn references?

    I'm also trying to automate the cumulative percentage calculation in column E as I have more than 500 products as opposed to the 4 products A,B,C,D I listed. Column E's calculations were manually entered by myself which would be too time consuming for 500 more products.

    Thanks in advance, I truly appreciate your time in this.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

    No... CF is Conditional formatting.

    On my sheet... with the cursor set anywhere in your data range, if you go to Home/Conditional Formatting/Manage Rules/Edit you will see the formula in place.

    What you need to do is to change the ranges to something sensible and appropriate to your dataset.

    =COUNTIFS($A$3:$A$20000,$A3,$E$3:$E$20000,"<.8")<3

    Here (above) it is changed to look at 20,000 rows. I have changed it to 20,000 in the attached sheet. Unless you have close to 1,000,000 rows, do not use:

    =COUNTIFS($A:$A,$A3,$E:$E,"<.8")<3

    which will look down all 1,000,000+ rows, will increase file size and may impact on performance.

    To calculate col E automatically, use:

    =SUMIF($A$3:A3,A3,$C$3:C3)/SUMIF(A:A,A3,C:C).

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-22-2019
    Location
    Korea
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Help:Highlight if top 80% cumulative percentage of a product has less than 3 customers

    Hi Glenn, you're a lifesaver! Truly appreciate the time to help

+ 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. Product Combinations bought by Customers
    By stanstar in forum Excel General
    Replies: 7
    Last Post: 03-24-2019, 12:52 PM
  2. [SOLVED] How to find customers which purchase particular product
    By devawad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2018, 01:00 AM
  3. Percentage of on time customers in a list by the hour
    By ashcrroft752 in forum Excel General
    Replies: 3
    Last Post: 11-02-2017, 08:32 AM
  4. [SOLVED] Percentage cumulative
    By rateesh in forum Excel General
    Replies: 3
    Last Post: 10-07-2015, 06:58 PM
  5. Replies: 0
    Last Post: 04-24-2014, 05:27 PM
  6. percentage of customers reply
    By MCsam97 in forum Excel General
    Replies: 7
    Last Post: 08-06-2011, 06:25 PM
  7. Replies: 5
    Last Post: 01-16-2010, 01:17 AM

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