Hi again.
I'm stuck again with these formulas because they give me a different result:
Formula 1: Result: 21
=COUNTIFS(Tickets!$G$2:$G$500;">="&$B63;Tickets!$G$2:$G$500;"<="&EOMONTH($B63;0))
Fromula 2: Result: 23
=SUMPRODUCT(--(YEAR(Tickets!$G$2:$G$477)=2010);--(MONTH(Tickets!$G$2:$G$477)=3))
And here is the list:
I think the problem is because of the two tickets that have
2010-03-31 as date. Anyone knows how to solve this?
<TABLE style="WIDTH: 81pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=108><COLGROUP><COL style="WIDTH: 81pt; mso-width-source: userset; mso-width-alt: 3949" width=108><TBODY><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4 0.5pt solid; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-03 07:45</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-03 20:31</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-04 01:26</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-06 21:47</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-07 14:34</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-08 09:49</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-08 16:56</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-11 14:41</TD></TR><TR style="HEIGHT: 69pt" height=92><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 69pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=92 width=108 align=right>
2010-03-16 17:39</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-16 22:43</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-19 12:11</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-19 12:22</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-22 10:47</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-22 10:56</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-22 11:05</TD></TR><TR style="HEIGHT: 35.25pt" height=47><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 35.25pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=47 width=108 align=right>
2010-03-22 11:10</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-22 12:34</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-22 17:32</TD></TR><TR style="HEIGHT: 57.75pt" height=77><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 57.75pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=77 width=108 align=right>
2010-03-22 17:33</TD></TR><TR style="HEIGHT: 69pt" height=92><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 69pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=92 width=108 align=right>
2010-03-27 12:33</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-29 13:20</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-31 18:13</TD></TR><TR style="HEIGHT: 46.5pt" height=62><TD style="BORDER-BOTTOM: #c4c4c4 0.5pt solid; BORDER-LEFT: #c4c4c4 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 81pt; HEIGHT: 46.5pt; BORDER-TOP: #c4c4c4; BORDER-RIGHT: #c4c4c4 0.5pt solid" class=xl65 height=62 width=108 align=right>
2010-03-31 19:57</TD></TR></TBODY></TABLE>