Share via

using sumifs with an extra

Anonymous
2025-01-13T04:56:54+00:00

I have the formula =SUMIFS(J32:J44,L32:L44,"Jan") on the sheet called "OrderShipmentDates" which works well, but I need to add an extra Criteria where cell BUdget!B4 (=DATE(YEAR(TODAY()), MONTH(TODAY()), 1) also needs to equal Jan. How do I include that extra criteria?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Vijay A. Verma 104.9K Reputation points Volunteer Moderator
2025-01-13T07:14:41+00:00

In SUMIF, all ranges should be equal. So, second parameter of B4 should also be B4:B16 assuming B4:B16 contain dates.

But SUMIFS will not support a formula inside it.

=SUMPRODUCT(J32:J44 * (L32:L44="Jan") *(TEXT(Budget!B4:B16,"mmm") ="Jan"))

But if you are looking that only B4 should be equal to Jan, then B4 can't be part of SUMIF.

Probably, you are looking for a formula of this kind

=SUMIFS(J32:J44,L32:L44,"Jan") * (TEXT(Budget!B4, "MMM) = "Jan")

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-01-13T10:14:22+00:00

    Thank you

    Much appreciated

    David

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-13T06:49:33+00:00

    Dear Vijay.

    Thank you for your reply.

    The answers I receive is #VALUE!

    Is this because of the format of the months????

    For example:-

    THE FIELD L32:L44 IS LIKE 19/01/2025 which is formatted as =TEXT(K32,"MMM") .

    and Budget!B4 =DATE(YEAR(TODAY()), MONTH(TODAY()), 1).

    I hope you can help

    Much appreciated

    David

    Was this answer helpful?

    0 comments No comments
  3. Vijay A. Verma 104.9K Reputation points Volunteer Moderator
    2025-01-13T06:27:18+00:00

    You can use following

    =SUMIFS(J32:J44,L32:L44,"Jan", Budget!B4, "Jan")

    Was this answer helpful?

    0 comments No comments