dsum help

plain

New Member
Joined
May 4, 2002
Messages
2
in the database field, can i use the range from multiple worksheets from the same workbook ? example :
=DSUM(Sheet1:Sheet2!A1:C4,3,Sheet3!A1:A2)
the above function returns "#value!".

but with the same data, the returns show the correct values if i use these functions :
=DSUM(Sheet1!A1:C4,3,Sheet3!A1:A2)
or
=DSUM(Sheet2!A1:C4,3,Sheet3!A1:A2)

thank you for your help.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
in the database field, can i use the range from multiple worksheets from the same workbook ? example :
=DSUM(Sheet1:Sheet2!A1:C4,3,Sheet3!A1:A2)
the above function returns "#value!".


I don't believe so. DSUM is not a 3D-function.

but with the same data, the returns show the correct values if i use these functions :
=DSUM(Sheet1!A1:C4,3,Sheet3!A1:A2)
or
=DSUM(Sheet2!A1:C4,3,Sheet3!A1:A2)


That's right. You can do of course the following:

In E2 in Sheet1 enter:

=DSUM(A1:C4,3,Sheet3!A1:A2)

In E2 in Sheet2 enter:

=DSUM(A1:C4,3,Sheet3!A1:A2)

In Sheet3,

in B2 enter:

=SUM(Sheet1:Sheet2!E2)
This message was edited by Aladin Akyurek on 2002-05-05 23:33
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top