How To Use Wildcard In Excel If Formula, COUNTIF can be used to count cells that contain dates, numbers, and text.