Thank you for reading this post.
I am using a countifs formula using dates where C363 is today() and I am counting all instances in column M that match B5 and are BEFORE today's date. Column C lists dates in chronological order for 2010.
This formula works fine:
=COUNTIFS(C2:C358,"<="&C363,M2:M358,B5)
My questions are,
1) why do I need quotes around "<=" and
2) why do I need an ampersand (&) before C363 which contains today() ??
I'm not asking to explain the logic behind Excel but rather, when is it necessary to use quotes and what does the ampersand actually do?
I frequently make the error of writing =COUNTIFS(C2:C358,<=C363,M2:M358,B5) and after about 15 minutes, I remember the quotes and ampersand.
Thank you again.
Adam
Bookmarks