Solved

# Excel formula to sum figures of a certain calendar year only

Posted on 2011-05-09
Medium Priority
232 Views
how can I sum in cells B31, B32, B33 and B34 the percentages from range B1 to B29 for the calendar year in A31, 32, 33, 34?

Tried with Sumproduct and sumif but not really successfull...
formula-filter-year.xls
0
Question by:BrdgBldr

LVL 33

Accepted Solution

jppinto earned 500 total points
ID: 35722179
Here's the formula for the first year:

=SUMPRODUCT((YEAR(\$A\$1:\$A\$29)=YEAR(A31))*(\$B\$1:\$B\$29))

Please take a look at the attached file.

jppinto
formula-filter-year.xls
0

LVL 5

Expert Comment

ID: 35722458
0

Author Closing Comment

ID: 35722473
great. thanks a lot!
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
###### Suggested Courses
Course of the Month9 days, 6 hours left to enroll