The Excel function: DSUM

Adds the numbers in the field column of records in the database that match the criteria.

More information: support.microsoft.com/en-us/office/dsum-function-53181285-0c4b-4f5a-aaa3-529a322be41b

Other functions
Returns the average of selected database entries
Counts the cells that contain numbers in a database
Counts nonblank cells in a database
Extracts from a database a single record that matches the specified criteria
Returns the maximum value from selected database entries
Returns the minimum value from selected database entries
Multiplies the values in a particular field of records that match the criteria in a database
Estimates the standard deviation based on a sample of selected database entries
Calculates the standard deviation based on the entire population of selected database entries
Estimates variance based on a sample from selected database entries
Calculates variance based on the entire population of selected database entries