Count cells that begin with a specific text in Excel and Google Sheets

=COUNTIF(A2:A6,"feb*") // criteria within formula

=COUNTIF(A:A,C6&"*") // criteria as a cell reference

A2:A6, A:A = ranges; C6 = criteria

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.