X
xirx
Hi!
The 3rd parameter of the DSUM function...
DSUM(database,field,criteria)
.... is a range that specifies the criteria. E.g.,
the range A1:B2 might be used to select all males
older than 30 from a database:
A B
----- -----
1 sex age
2 male >30
This requires the criteria to be on a worksheet.
I would like to have it in the formula. Can I
use a constant instead of a range, here?
I tried...
=DSUM(database;weight;{"sex","age";"male",">30"})
....but this doesn't work.
Any pointers?
The 3rd parameter of the DSUM function...
DSUM(database,field,criteria)
.... is a range that specifies the criteria. E.g.,
the range A1:B2 might be used to select all males
older than 30 from a database:
A B
----- -----
1 sex age
2 male >30
This requires the criteria to be on a worksheet.
I would like to have it in the formula. Can I
use a constant instead of a range, here?
I tried...
=DSUM(database;weight;{"sex","age";"male",">30"})
....but this doesn't work.
Any pointers?