Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DSUM error VALUE 1

Status
Not open for further replies.

Bronte1226

Technical User
Oct 18, 2002
123
US
I am trying to use the database function DSUM to calculate a field. The database is on a seperate sheet (called "Database" and given the named range or "Database") The criteria that I am using to filter the summation is on another sheet called "Database Criteria". The named range I am using is called "CritPerf1" it has the same layout as the database as far as the heading structure (as follows)

Emp SSN Emp Name Performance Level Base Pay Raise Percentage Raise Amount Bonus Amount Adjusted Base Pay

I am doing it this way to be able to change the critera to filter by on the fly. In my field on another sheet named "summary" I have a field to sum all of the raises. The raise column has been named "raise" (data portion only) so the formula I am using is this:

=DSUM(Database,"Raise",CritPerf1)

This is returning a "#VALUE!" result. I have tried deleting the named ranges and redefining them, which did not change anything. I have even rebuilt the entire workbook 4 times, but something I am doing is keeping this from working. Please help!

Thanks!
 


Hi,

Use Column Heading Value...
[tt]
=DSUM(Database,"Raise Amount",CritPerf1)
[/tt]


Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top