Excel MONTH function?

Hello,

I need the MONTH() function as a condition for a SUMIFS() function. However, it seems that this doesn't apply to an entire column (e.g., MONTH(Table1!A:A)), but only to a single cell. I would need to create a helper column that already contains the calculated values ​​for this to work. It absolutely has to work without a helper column.

Is there any way?

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
7 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
daCypher
7 months ago

Can be that I somehow misunderstand the question, but the MONAT function is matrix-fit. If you feed them with multiple values, several values will also come out. However, I have not managed to establish a criterion such as “WENN(MONAT(A2:A12)<=MONAT(D2)" with the SUMMEWENNS function. With the filter function it is easy to build:

=SUMME(FILTER(A2:A13;MONAT(B2:B13)<=MONAT(D2)))
evtldocha
7 months ago

If the function MONAT() of Excel not belongs to the functions for which a matrix evaluation is forced, then that should work:

=SUMPRODUCT(SUMIFS(B:B;MONTH(A:A);"1"))

German function names:

=SUMMENPRODUKT(SUMMEWENNS(B:B;MONAT(A:A);"1"))

Note(en):

  • The “1” at the end stands for the search for the month “January” (1 month of the year)
  • The matrix evaluation can also be achieved by ending the input of the formula with STRG+SHIFT+ENTER and then has:
{=SUMIFS(B:B;MONTH(A:A);"12")}

in the cell.

evtldocha
7 months ago
Reply to  iclasher

Now you come with something that you originally did not run into your question and I do not understand here as described in the comment. Sorry, I answered your question and I don’t like the way to look after an answer. Bye.

mjutu
7 months ago

What do you expect to answer when the monthly command is applied to a whole column? There’s a whole column coming out. However, the formula applies only to one cell. Therefore, it is to be expected that the input must also be a single value and no column.