Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: dsum help

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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.

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    84,021
    Post Thanks / Like
    Mentioned
    37 Post(s)
    Tagged
    7 Thread(s)

    Default

    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 ]

  3. #3
    New Member
    Join Date
    May 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default


    Appreciate your clarification and suggestion.

    Tks again.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •