AVERAGEIFS???

Sam Beardsley 0 Reputation points
2025-12-12T19:54:26.0833333+00:00

Dearest Wizards,

Col A has assorted dates

Col B has various text titles; one of the many titles is the word "DIVIDEND"

Col C has various dollar amounts.

What formula can be put in D1 that will give me the AVERAGE monthly dividends?

TIA for your help,

Sam

Microsoft 365 and Office | Excel | For business | MacOS
{count} votes

2 answers

Sort by: Most helpful
  1. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2025-12-12T23:21:43.8666667+00:00

    Hi,

    In cell E2, enter this formula

    =DROP(GROUPBY(HSTACK(MONTH(A2:A6),TEXT(A2:A6,"mmm-yy")),C2:C6,AVERAGE,,0,,B2:B6="dividend"),,1)

    Hope this helps.

    User's image

    0 comments No comments

  2. IlirU 1,436 Reputation points Volunteer Moderator
    2025-12-13T10:04:53.0733333+00:00

    User's image

    Hi,

    Use this formula in cell E2:

    =GROUPBY(EOMONTH(+A2:A6, 0), C2:C6, AVERAGE,, 0,, B2:B6 = "Divident")

    Format data in column E as date so in Format Cells choose Custom and in the Type box put this format: mmm-yy

    Hope this helps.

    IlirU

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.