+ Reply to Thread
Results 1 to 3 of 3

Faster Calculation than SumProduct?

  1. #1
    Forum Contributor
    Join Date
    11-03-2004
    Posts
    139

    Faster Calculation than SumProduct?

    Hello,
    I have the following formula and needless to say, the calculation is very slow.

    =SUMPRODUCT(--('85_08'!$A$2:$A$10800='09 YTD Auto Claims'!G38),--('85_08'!$B$2:$B$10800="A"))

    Right now this formula is copied down about 4,000 rows and this will grow in double the rows by the end of the year. Plus another column which is looking for the same criteria only instead of A, it will be an I. I would greatly appreciate any help or advice in making this formula better and faster.
    Thanks
    Michelle

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Faster Calculation than SumProduct?

    If you're using XL2007 use COUNTIFS over SUMPRODUCT

    If running pre XL2007 use concatenation on '85_08', let's assume column C is available:

    '85_08'!C2: =$A2&":"&$B2
    copied down to C10800

    Your SUMPRODUCT then becomes a standard COUNTIF

    =COUNTIF('85_08'!$C$2:$C$10800,'09 YTD Auto Claims'!G38&":A")

    Less elegant but more efficient.

  3. #3
    Forum Contributor
    Join Date
    11-03-2004
    Posts
    139

    Thumbs up Re: Faster Calculation than SumProduct?

    Awesome...works beautifully! Oh thank you for sharing your knowledge and so quickly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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