Is there anything faster than countif?
Results 1 to 4 of 4

Thread: Is there anything faster than countif?
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Sep 2009
    Posts
    496
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Is there anything faster than countif?

    I have a some ID numbers in column C than run for approx 75k rows.
    In another column i have the following formulae:

    =COUNTIF($C$3:$C$75174,C3)
    I have calculation set to manual, but it is very slow when i do calculate. Is there a more efficient way of counting the instances of each ID?


    Many thanks!

    Chris

  2. #2
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    2 Thread(s)

    Default Re: Is there anything faster than countif?

    A pivot table may be quicker.
    Microsoft MVP - Excel

  3. #3
    Board Regular
    Join Date
    Dec 2009
    Location
    Yorkshire, UK
    Posts
    87
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Is there anything faster than countif?

    COUNTIF is a quick function. I would guess you must have a lot of other formulae in the spreadsheet. Try calculating that sheet only: Formulas > Calculation > Calculate Sheet

  4. #4
    Board Regular
    Join Date
    Sep 2009
    Posts
    496
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Is there anything faster than countif?

    Thanks for the responses, i feared that countif was the most efficient via formula method.

    Andrew, i cant use a pivot table for this specific part of the task but will be able to once i clear the first few hurdles - I will just have to persevere with countif for now.

    Many thanks

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •