Sum according to criteria
-
Hello
I want to calculate in a column the sum according to a criterion
Example:
in the “equipment” table (id = 58)
the column “Venue” (xxx) I have “Lounge”, “spa”, “Entrance”, etc …
the column “price” (id = 176) I have the priceI can make the total sum: [wpdatatable_sum table_id = 58 col_id = 176]
I don’t know how to sum up just for “lounge” from the column “venue” for example.
How to do the syntax in the formula?
thank you in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Sum according to criteria’ is closed to new replies.