Hi All.
How to calculate average amount per month if:
JAN, MAR, MAY, JUL, AUG, OCT, DEC have 31 days,
APR, JUN, SEP, NOV have 30 days,
and FEB 28 or 29 days?
Thanks.
You could use the Month number in a formula e.g.
=AVERAGE(IF(MONTH(A1:A100)=1,B1:B100))
confirmed with CTRL+SHIFT+ENTER not just ENTER
This averages column B based on Month in A1:A100 begin January (1) where A1:A100 contain actual dates.
You may also be able to use a Pivot table which groups by month and displays averages...
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
You could use the Month number in a formula e.g.
=AVERAGE(IF(MONTH(A1:A100)=1,B1:B100))
confirmed with CTRL+SHIFT+ENTER not just ENTER
This averages column B based on Month in A1:A100 begin January (1) where A1:A100 contain actual dates.
You may also be able to use a Pivot table which groups by month and displays averages...
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks