Counts the number of non-empty cells in a database column that match specified conditions.
この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
DCOUNTA(database, field, criteria)DCOUNTA counts cells that are not empty in the specified field of records that match the criteria. It is particularly useful for analyzing large datasets where you need to filter by multiple conditions before counting.
=DCOUNTA(A1:C10, "Sales", E1:F2)結果: 5
Counts the number of non-empty 'Sales' entries in the database that meet the criteria defined in E1:F2.
DCOUNT counts only numeric cells, while DCOUNTA counts any non-empty cell, including text.