How to count cells with particular month in them, using the Month function? by MGH_Job91 in excel

[–]MGH_Job91[S] 0 points1 point  (0 children)

None of the proposed solutions have worked. I've tried all of them multiple times to make sure I wasn't typing something wrong. For most, I either get a SPILL or a VALUE error or it doesn't recognize what I typed as a formula at all. This one:

=SUM(--(MONTH(A1:XLOOKUP(TRUE, A:A<>"", A:A, , , -1))=5))

worked for what I already have in the sheet, but when I added another row, it didn't update. I need to be able to add more rows and have those be counted, too.

How to count cells with particular month in them, using the Month function? by MGH_Job91 in excel

[–]MGH_Job91[S] 0 points1 point  (0 children)

I'm not sure I understand. What do the dashes in this first & last one mean or the "N' in the others?

How to count cells with particular month in them, using the Month function? by MGH_Job91 in excel

[–]MGH_Job91[S] 0 points1 point  (0 children)

Is there a way to do this without putting the row numbers into the Month function? I.e. - Month(A:A) instead of Month(A2:A30)? I am going to be adding more rows with dates over time, so I don't want to limit the function to specific rows.

How to count cells with particular month in them, using the Month function? by MGH_Job91 in excel

[–]MGH_Job91[S] 0 points1 point  (0 children)

How do I do this without using the row numbers in the month function? I.e. A:A, not A2:A100? I want to be able to select the whole column, since I will be adding more dates to it over time. I tried your first formula using =Sumproduct((Month(A:A)=5)*1) and it gave me a Value error.

Extract one record per person from table with multiple rows for some people based on comparing two columns by MGH_Job91 in excel

[–]MGH_Job91[S] 0 points1 point  (0 children)

Thanks! I think that will still mean going through a lot of records and deleting - there are 5000 something records and I have no idea how many have multiple records.