+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : DSUM on multiple sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    03-30-2009
    Location
    Chicago, IL, USA
    MS-Off Ver
    Excel 2003
    Posts
    37

    Unhappy DSUM on multiple sheet

    I am trying to do a Dsum on multiple sheets I named my first table January so when I use the Dsum on the sheet Sales Summary work sheet then I have criteria on the sales summary for equal to P in shipping and Y In State the formula looks like this =DSUM(January[#ALL], January[Gross Sales],G16:H17) and it keeps coming up with #VALUE!. I have tried various methods to fix this to no avail. Any suggestions would help.
    Attached Files Attached Files
    Last edited by aaslezak; 09-28-2009 at 02:10 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: DSUM on multiple sheet

    The Field value (middle condition) should be the single cell January!E4.. which tells Excel with Field (column) to add...

    e.g

    =DSUM('January Sales'!$A$4:$K$50,'January Sales'!E4,G16:H17)

    Note: G21 in the Summary table has an extra space after the "S".. please remove or you will get 0 result.

    Check all others for this inconsistency too.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-30-2009
    Location
    Chicago, IL, USA
    MS-Off Ver
    Excel 2003
    Posts
    37

    Thumbs up Re: DSUM on multiple sheet

    Well that did it and it worked on my daverage values too thanks for the tip on how to use the DSUM on different sheets.

    Al

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: DSUM on multiple sheet

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Registered User
    Join Date
    03-30-2009
    Location
    Chicago, IL, USA
    MS-Off Ver
    Excel 2003
    Posts
    37

    Cool Re: DSUM on multiple sheet

    That was not the correct solution I needed to use the names values for the field and if I use "Gross Sales" instead of 'January'!E4 then the values come out correctly. Thanks for the help

    Al

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1