?
Solved

Excel formula to sum figures of a certain calendar year only

Posted on 2011-05-09
3
Medium Priority
?
232 Views
Last Modified: 2012-05-11
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
Comment
Question by:BrdgBldr
3 Comments
 
LVL 33

Accepted Solution

by:
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

by:msheskey
ID: 35722458
0
 

Author Closing Comment

by:BrdgBldr
ID: 35722473
great. thanks a lot!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question