i need help on something asap.

nnos

Board Regular
Joined
Feb 7, 2012
Messages
73
Hello,

So i have this issue, i want to use averageifs function to do my calculation.

On my excel i have a column for year from 1985 to 2011, and a row for months from Jan to Dec.
so i want to use averageifs to calculate the data i have. I want it to take the average of a month within that year.

so for example

year: months Data
1985 Jan 123
1986 Feb 1312

how can i approach this? anything would help.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
You may want to try a pivot table. Use the year followed by the month and then use the average function in the data area.

This way you can select a year, group of years and you can even group the months into quarters if necessary.
 
Upvote 0
Hello,

So i have this issue, i want to use averageifs function to do my calculation.

On my excel i have a column for year from 1985 to 2011, and a row for months from Jan to Dec.
so i want to use averageifs to calculate the data i have. I want it to take the average of a month within that year.

so for example

year: months Data
1985 Jan 123
1986 Feb 1312

how can i approach this? anything would help.
Something like this...

=AVERAGEIFS(C:C,A:A,1985,B:B,"Jan")

That will average column C where column A = 1985 and column B = Jan.

Better to use cells to hold the criteria:

E1 = 1985
F1 = Jan

=AVERAGEIFS(C:C,A:A,E1,B:B,F1)
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,107
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top