I am trying to work out how to count over two columns with conditions including a date range rather than text or value.
Column A dates (written in dd,mm,yyyy format), Column B text (apples, pears, bananas etc.)
I would like to count, how many apples were bought between 1st & 31st Jan. I first needed to work out how many entries there were for each month:
=Sumproduct((A1:A100>=date(2003,1,1))*(A1:A100<=date(2003,1,31) and so on. But I think there must be an easier formula for that?
I can't work out how I would count how many apples were sold in January, pears in Feb etc.
=text(a2, "dd-mmm-yyyy")
in a cell do you get a transformed date? Is there a text column header label in A1? – user4039065