+ Reply to Thread
Results 1 to 8 of 8

Count top 7 list of names in a sum product formula

  1. #1
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Count top 7 list of names in a sum product formula

    Hi

    I have a column H, which has a list of names. The below formula can count an added criteria for a month that is indicated in cell AD2 up to the whole year. The dates are located in column U. In this below formula one of the criteria is in column P which is to exclude the word cancelled.
    Can i know how do i add in to this formula to count the top 7 list of names in column H?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Count top 7 list of names in a sum product formula

    Try: =SUMPRODUCT((Report!$P$4:$P$1000<>"Cancelled")*YEAR(Report!$U:$U)=YEAR($AD$2))*(MONTH(Report!$U:$U)=MONTH($AD$2))*(Large(your column,{1,2,3,4,5,6,7})))
    Click the * to say thanks.

  3. #3
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Re: Count top 7 list of names in a sum product formula

    Hi Paul.

    Thank you for looking into it. I seemed to have gotten a value error. I have attached a sample workbook with expected results.
    Attached Files Attached Files

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Count top 7 list of names in a sum product formula

    How do you know which ones are the top 7 as you don't have any numbers in the file?

  5. #5
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Re: Count top 7 list of names in a sum product formula

    Hi Paul. Can the formula be adapted to count the number of times the name appears in column H and do a classification of top 7 names form there?
    Attached Files Attached Files

  6. #6
    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,150

    Re: Count top 7 list of names in a sum product formula

    Your explanation is a bit vague!! How can Mic be top of the list when he has only 1 valid result??

    An array formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    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

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Count top 7 list of names in a sum product formula

    In O16 then copy down
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    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,150

    Re: Count top 7 list of names in a sum product formula

    Hahaha. I didn't see AD1....

+ 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. [SOLVED] Sum Product ( Count if working good, but I need help with dragging formula.
    By Brian.Aerojet in forum Excel General
    Replies: 7
    Last Post: 01-11-2018, 12:40 PM
  2. Need to count dates in a list of names.
    By Sondraen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2017, 08:10 PM
  3. [SOLVED] Product count and lookup formula
    By Alaskan_grunt in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-07-2015, 01:01 PM
  4. Count ifs and sum product formula
    By geliedee in forum Excel General
    Replies: 0
    Last Post: 11-06-2015, 11:40 AM
  5. Replies: 2
    Last Post: 09-10-2014, 08:56 AM
  6. sum product to count data in a date list
    By thompsy121 in forum Excel General
    Replies: 12
    Last Post: 02-24-2010, 04:13 AM
  7. How to set a formula to count the product appear how manytime
    By AMY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2005, 06:06 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