Forum Discussion
Kjharris123
Apr 06, 2022Copper Contributor
Excel help
I was having an issue with a column of "if" statements in my spreadsheet. I was wanting to get a total of true "if" statements for that week. Each day of the week has =IF(F6<=TIME(12,0,0),"*","") t...
- Apr 06, 2022
Kjharris123 The asterisk is seen as a wildcard character, so everything gets counted. Use "x" rather than "*" to mark and count the qualifying entries.
Starrysky1988
Apr 06, 2022Iron Contributor
If you want to count "true", the formula must be like that.
=COUNTIF($G$3:$G$9,"true") or
=COUNTIF($G$3:$G$9,True)
If you want to count exact "*", the formula must be like that.
=Sum(--($G$3:$G$9="*"))