Help: working with a large dataset

excelmania087

New Member
Joined
May 15, 2010
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hello, everybody. I would like to ask for your help with the calculations of the long-term averages.

Let's sart with a dscription of my situation..

The data of the long-term (48 years) hydrological measurement data I currently work with consists of the monthly discharge data (every 12 months of 48 years). It is presented in a tabular form (observation post, river, year, month, average monthly discharge in cub. m/s).
Firstly, the units of monthly values of discharge should be convert/recalculate from cub. m/s to mm [Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * D (number of days in a given moonth: 28/29, 30 or 31)/A (area of the catchment) * 1000] [values that are fixed in this case are marked with bold]. Secondly, the yearly values (12 month averages) for each year (the period is 1961 to 2009) are to be calculated.
While it is quite easy to recaculate each value (convert to other unit of measurement), the calculation of the year averages seems to be a more time-consuming procedure. I realised that the calculation of the yearly (12 month average) values should follow this algorythm: Average(G3:G14) (the data set starts from the third row), then Average (G15:G26), etc.

Would it be possible to write a formula or a macro code that helped to work (convert the units of data and calculate the averages of each year) with many more similar tables (same data, different values)?

Thank you very much for any help. Hope, we can find a sollution soon.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
The table with the data looks like that:


ABCDEF (to be calculated)G (to be calculated)
1-2Observation post (occupies 2 rows)RiverYearMonthAverage monthly discharge, cub. m/sConverted values of discharge (Q in mm)
3Smal.Neman19611468Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * D
4Smal.Neman19612616
Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * D
5Smal.Neman19613946Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * D
6Smal.Neman............
7Smal.Neman196112319Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * DAverage (F3:F14)
8Smal.Neman............
9Smal.Neman200912590Q(monthly) = value * 60 (s) * 60 (min.) * 24 (h) * DAverage (F579:F590)

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

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