+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT command is not working on a large list

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    1

    Question SUMPRODUCT command is not working on a large list

    Hello guys,

    I was trying to count the number of unique values in a range, with using the following formula:

    Please Login or Register  to view this content.
    however, it seems this formula is not working on a large list since I got 447,148 values in my list,
    the formula just return to 0 after it takes a minute to calculate the value.
    So is there are anyway to count the number of distinct value in a list ?

    Thank you.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: SUMPRODUCT command is not working on a large list

    Try this array formula

    =SUM(IF(FREQUENCY(IF($A1:$A447148<>"",MATCH($A1:$A447148,$A1:$A447148,0)),ROW($A1:$A447148)-MIN(ROW($A1:$A447148))+1),1))

    ***Array formula must be entered by using key combination of CTRL+SHIFT+ENTER and not just ENTER
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT command is not working on a large list

    That is an awful lot of calculation to do. It will likely take far longer than 1 minute. I tried it on my laptop and had filled 447,148 values in column A and after 5 minutes, the computer was still running like mad without results. I eventually just killed the process.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT command is not working on a large list

    I produced a list of 50000 and it took 5 minutes to calculate....nearly 500000 would take a LOT longer!

+ 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. Working with large dataset - alternatives to SLOW sumproduct?
    By Teebo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-26-2014, 04:36 PM
  2. Sumproduct not working with a dropdown menu list
    By sahuja in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2013, 10:17 AM
  3. [SOLVED] Sumproduct(large( problem
    By STU22 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-13-2013, 07:27 PM
  4. Replies: 5
    Last Post: 04-23-2009, 01:48 PM
  5. [SOLVED] large / sumproduct combo
    By David in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2005, 11:05 AM

Tags for this Thread

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