contains and CountIf formula

Good day, I want to the the following formula in my sheet summary.

I want to know how many enquiries there where in 2023 (The ref Number for 2023 Enquiries are "EC-xxx")

The REF colomn is an auto-number format.

I want to count the Ref column if it contains EC.

Please assist with this formula?

=COUNTIF(REF:REF; Contains(REF:REF;"EC) it says invalid

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!