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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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