+ Reply to Thread
Results 1 to 3 of 3

Dsum "#value!"

Hybrid View

DCSwearingen Dsum "#value!" 02-04-2008, 05:25 PM
daddylonglegs You have dynacrit defined as... 02-04-2008, 06:02 PM
DCSwearingen Thank You! 02-05-2008, 10:15 AM
  1. #1
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,704
    You have dynacrit defined as just cell A72, it needs to be A73:A74, also your column criteria needs to be the column number (4) or the column header as text, i.e.

    "1404006"

    so if you make A87 just 4 and redefine dynacrit then you can use

    =DSUM(data,A87,dynacrit)

  2. #2
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Thank You!

    I was able to leave DynaCrit as a dynamic address inside the INDIRECT function. My problem was with the use of the cell address to return the field header (part number.) When I simply substituted COLUMN() with the header cell enclosed, everything worked.

    So, if I insert
    =DSUM(Data,COLUMN(),INDIRECT(DynaCrit))
    into the same column as the part number code the DSUM works.

    Now I just need to make the Dates dynamic. I can use
    =">="&A14
    ="<="&A30
    to select a date in the table to set the upper and lower date limits and the DSUM still works, so now all I need to do is set this up in the real workbook and give the user a couple of cells to use for the date ranges to query.

    Thank you for turning me in the right direction. You guys are terrific!
    Thanks!
    Dennis

    I am using Windows 7 and Office 2007, all of my posts are based on this.

+ 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