DSUM vs. SUMPRODUCT

M

matelot

I found out recently that the function DSUM acts the same way as SUMPRODUCT.
They both can produce the same result. I've been using SUMPRODUCT for all
this times and I was wondering if there's benefit to use 1 vs. the other. Is
one more optimized that the other?

Any insight would help.
Thanks.
 
M

matelot

I did a test with large dataset to see if one is faster than the other.
SUMPRODUCT came up faster than DSUM. That might explain that SUMPRODUCT may
load the entire dataset into RAM whereas DSUM fetches the record externally.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top