I use this:
=COUNTIFS(Sheet2!N2:N5001, ">"&J1, Sheet2!N2:N5001, "<"&K1,Sheet2!P2:P5001,"*")
and it returns a value, when I parse a different date range with this:
=COUNTIFS(Sheet2!N2:N5001, ">"&J12, Sheet2!N2:N5001, "<"&K12,Sheet2!P2:P5001,"*")
it returns no values, when looking at the data source, there are values which it should return, I've checked that the data source in column P is all text values, why is the wildcard not working?