You surely defined a sequence of bins (classes defined by their ascending limits) for FREQUNCY()
.
If your class limits are integer numbers as used for dates by default in spreadsheets, and the date-time-stamps (as exemplified) you have in a sequence also are numbers (not integers now) FREQUENCY()
will work as defined. That’s not a matter of formatting. If your “dates” or the limits of the bins aren’t numbers but text, FREQUENCY()
cannot work on them, again independent of any formatting.
To clear this: Select the column where the date-time-stamps are listed and make it very wide. Make sure that no alignment (left/right/centered) is set for the column. Any cell content or formula result being a number will now be displayed right-aligned while texts are left-aligned. (You can also use >View>Value Highlighting
to show numbers in blue font color.) Do respectively with the column of the bins.
If you find that you tried to work with texts you need to convert them to the representation by numbers. This can be done with the tool >Data>Text to Columns...
.