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.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
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.
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