adding sums for a range of sizes for a range of years...

hansonenv

New Member
Joined
Nov 16, 2005
Messages
1
Greetings, I've got a current frustration with excel, and was wonderring if anyone can help. What I am trying to do is this: from a data set which contains for each row a year, a size, and a number. What I would like to do is enter a formula for a table that has a column of years so that for each cell, it checks the column with the year and from that data it will add the number of the items that fall within a size range. I got as far as using the SUMIF command to add the number of an item within a range, and can manually select the area for a given year, but this takes a long time.

the 'human logic' flow would be something like: IF the cell in the column containing the year is equal to say 1995, THEN do the operation for those cells only (use that as the range for the SUMIF instead of having to manually enter the range for each year).

much appreciated.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,214,541
Messages
6,120,110
Members
448,945
Latest member
Vmanchoppy

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