I have a list of date formatted data in column G3:G500 on sheet 2. I would like to count in cell B5 how many dates are in January and C5 how many dates are in February. Sheet 1)
In B4 I have the 31 Jan 2010 as a ref and in C4 28th Feb 2010 and I would like to write something like:
=COUNTIF('sheet1'!G$3:$G$20000,<=B4)
Anybody can help please as I was sitting a few hours on this already :(
Be careful with that last one - for January only blanks in G3:G20000 will be counted - to avoid that either use Rory's previous suggestion including the year criterion...or explicitly exclude blanks, I.e.
Be careful with that last one - for January only blanks in G3:G20000 will be counted - to avoid that either use Rory's previous suggestion including the year criterion...or explicitly exclude blanks, i.e.
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
=SUMPRODUCT(--(YEAR('sheet
assuming you want to differentitate between Jan 2010 and Jan 2011. If not, then just:
=SUMPRODUCT(--(MONTH('shee