+ Reply to Thread
Results 1 to 5 of 5

Slow Calculations - COUNTIF

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Outer Space, Milky Way
    MS-Off Ver
    Excel 2012
    Posts
    23

    Slow Calculations - COUNTIF

    Hello Fellow Excel Users,

    Thanks for taking the time to read this.

    I am using a simple COUNTIF function on a list of unique values. These values are strings. On another sheet in the same workbook, I have a another list of strings, but they are not unique. I want to see how many times each value on the unique sheet appears in the non-unique sheet using COUNTIF. The formula work fine but the unique sheet has 200,000 values and the non-unique sheet has a little over 1 million values. The COUNTIF calculation takes seriously forever...

    Is there as faster way to do this or improve the speed of this process?

    My computer runs Intel i5 with 6GB of RAM (not sure if this helps).

    Thanks in advance!!

    Sincerely,

    Gray-ish

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Slow Calculations - COUNTIF

    Wow that IS a lot of data!! Not that it matters, but it cant be much more than 1 million lines though (maybe another 48 000?)

    Is it a straight search inthe countif() eg =countif(sheet2!a:a,"THIS") or is it more complex than that?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    Outer Space, Milky Way
    MS-Off Ver
    Excel 2012
    Posts
    23

    Re: Slow Calculations - COUNTIF

    Hello FDibbins,

    Yes, you are correct. It is a straight search in the COUNTIF() formula.

    My best bet right now is to just wait it out...

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Slow Calculations - COUNTIF

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    Outer Space, Milky Way
    MS-Off Ver
    Excel 2012
    Posts
    23

    Re: Slow Calculations - COUNTIF

    Thanks for the information, arlu1201.

    I wouldn't say the problem has been solved since no solution was presented and I am still dealing with the same issue. But this thread seems dead anyways.

    Thanks everyone for helping!

    -Gray-ish-

+ 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. Calculations Very Slow
    By alcharbonneau in forum Excel General
    Replies: 4
    Last Post: 10-24-2012, 09:24 PM
  2. To slow down calculations on row by row basis
    By netguru in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2012, 01:31 AM
  3. Slow Calculations
    By mikxtr in forum Excel General
    Replies: 7
    Last Post: 09-21-2005, 08:05 PM
  4. [SOLVED] Heavy/Slow Calculations
    By Shawn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2005, 01:05 PM
  5. Calculations Slow
    By robertjtucker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2005, 08:42 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