Results 1 to 9 of 9

My formula runs slow when changing it.

Threaded View

  1. #1
    Registered User
    Join Date
    12-16-2016
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    36

    My formula runs slow when changing it.

    I tried to change this formula from 2000 to 49999 lines to check because my report increased but it is taking for ever for excel to change these 6 values. Also when i did this it stopped counting all cells. O29 and P29 are date references FOR (029=12/01/16 P29=12/31/16). A column just equals 8568 and the rest counts the cells in I column if it is a unique number to the ones it found to be true. Did I screw up somewhere

    =SUMPRODUCT(--(JOET!$H$1:$H$49999>=O29),--(JOET!$H$1:$H$49999<=P29),--(JOET!$A$1:$A$49999=8568),--IF(JOET!$I$1:$I$49999<>0,IF(1/COUNTIF(JOET!$I$1:$I$49999,JOET!$I$1:$I$49999)=1,1,0)))

    EDIT: Here is an example of what should make the count 1.
    ---A-----B----------C----------D-----------E---------F-----------G-----------H----------I---
    8568---12/28/16---$16.44---$16.44-----$221.44---$205.00-----$205.00-----02/29/16--5628399
    Last edited by Dark0Prince; 01-11-2017 at 10:36 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA code runs slow
    By jamfz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2016, 12:25 PM
  2. VBA runs slow locally, runs fine when connected remotely
    By jbzy324 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-01-2015, 10:05 PM
  3. VBA Code runs too slow
    By pezalmendra in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2012, 07:19 AM
  4. Spreadsheet runs slow
    By jmoffett in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2008, 02:47 PM
  5. VBA runs very slow on a Apple Computer
    By SmartbizAustralia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2005, 09:00 PM
  6. Macro runs slow
    By Sandy in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-20-2005, 12:05 PM
  7. macro runs slow
    By nanomiter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2005, 01:06 PM

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