Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default DSUM vs. SUMPRODUCT

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default DSUM vs. SUMPRODUCT

I've heard that the DSum() command requires considerably less memory.

"matelot" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default DSUM vs. SUMPRODUCT

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.

"JMay" wrote:

I've heard that the DSum() command requires considerably less memory.

"matelot" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumif/Sumproduct/Dsum ? Andrew Mackenzie Excel Discussion (Misc queries) 3 April 6th 09 04:26 PM
Sum with multiple conditions - sumproduct, dsum or dproduct? hjneedshelp Excel Discussion (Misc queries) 3 March 12th 09 08:59 PM
DSUM sesler2 Excel Discussion (Misc queries) 12 March 7th 07 03:26 AM
DSUM or SUMPRODUCT? Vass Excel Worksheet Functions 8 May 23rd 06 04:57 PM
sumproduct vs dsum JKC Excel Worksheet Functions 1 February 7th 06 09:00 PM


All times are GMT +1. The time now is 08:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"