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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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,918
Messages
6,122,257
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