I am a little confused. Column G in my spreadsheet results from a formula that compares dates. if there is no date in the other column, the formula result is " " or empty.
If i code an autofilter criteria in VBA to select all non blank cells in a column within a table the syntax is:
.ListObjects("CalcPPR").Range.AutoFilter Field:=7, Criteria1:="<>"
The result is 172 rows of data.
BUT when i want to use a formula to count the non blank cells in a range using the same criteria:
=COUNTIFS(G6:G2216,"<>")
the result is the count of all cells in the range (2,210).
And using:
=COUNTIFS(G6:G2216,"< >") ==> there is a single space between < and >,
the result is a count of all cells with nothing in them (except the formula) (2,038).
AND using:
=COUNTIFS(G6:G2216,"<>""")
the result is, again, the count of all cells in the range (2,210)
If i code an autofilter criteria in VBA to select all non blank cells in a column within a table the syntax is:
.ListObjects("CalcPPR").Range.AutoFilter Field:=7, Criteria1:="<>"
The result is 172 rows of data.
BUT when i want to use a formula to count the non blank cells in a range using the same criteria:
=COUNTIFS(G6:G2216,"<>")
the result is the count of all cells in the range (2,210).
And using:
=COUNTIFS(G6:G2216,"< >") ==> there is a single space between < and >,
the result is a count of all cells with nothing in them (except the formula) (2,038).
AND using:
=COUNTIFS(G6:G2216,"<>""")
the result is, again, the count of all cells in the range (2,210)