How to summarize all data from a given year in a row?

remobec

New Member
Joined
May 31, 2017
Messages
12
OK, here's what I have going. I've pulled historical rainfall data and would look to summarize all the rainfall for each month so I can see the annual rainfall. Two things I need to do:

1. In Sheet Annual Summary, H2, I want it to look in Monthly Summary, Column A. If a date in Monthly Summary, Column A, contains the year in Annual Summary, A2, then it should take the value in the corresponding cell, Monthly Summary, E2, and add it to all of the other cells from 1913. So Cell H2 would be 15.44, cell H3 would be 5.96.

2. Since a few years don't have data for all 12 months, I would also like a way to record this. So Annual Summary, I2 would sum the number of cells in Monthly Summary, Column A, that contain 1913. So Cell I2 would be 7, I3 would be 10 and I4 would be 12.

I tried to add images to show what I'm talking about. The cells in Annual Summary E2:E8 are filled in with what the values SHOULD be.

Thank you!

cJiz9R

g0sgOm

https://ibb.co/cJiz9R
https://ibb.co/g0sgOm
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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