Started By
Message

Excel Gurus, Converge!

Posted on 3/5/15 at 10:09 am
Posted by h0bnail
Member since Sep 2009
7453 posts
Posted on 3/5/15 at 10:09 am
I need a formula to sum all entries in row "Y" where the value in row "X" begins with "z". Can this be done? The value in row "x" is a date in the format of 3/5/2015, if that matters. Basically, I'm trying to sum all data for the specified month.
Posted by jeekers78
Member since Sep 2005
433 posts
Posted on 3/5/15 at 10:18 am to
You can use SUMIF or SUMIFS with a wildcard * or ? as place holders. So somthing like:

=SUMIF(range, criteria [, sum_range])

=SUMIF(X1:X99,"z*",Y1:Y99)
Posted by Brisketeer
Texas
Member since Aug 2013
1443 posts
Posted on 3/5/15 at 10:24 am to
Look up SUMPRODUCT. This example sums for January.

=SUMPRODUCT((MONTH(X1:X2)=1)*Y1:Y2)
Posted by aaronb023
TeamBunt CEO
Member since Feb 2005
11774 posts
Posted on 3/5/15 at 2:36 pm to
You could always create another row with

=month(x1)

And drag it. Then do

=sumifs(y1:y5000,aa1:aa5000,z)
Posted by foshizzle
Washington DC metro
Member since Mar 2008
40599 posts
Posted on 3/5/15 at 4:45 pm to
Say column A has the date and column B has the info you want to sum.

Insert a column in between A and B. This will be "Month". So now column A is Date, column B is Month, and column C is Quantity.

Populate column B with =MONTH(A1). Drag and drop to fill the range, let's say it goes down 100 rows.

Now over to the right somewhere (say, column G) create a list of months, 1 through 12.

In column H use the following: =SUMIF(B$1:B$100, G1, C$1:C$100). Drag, drop, and have a beer.
Posted by lsu02150
BR
Member since May 2009
195 posts
Posted on 3/6/15 at 8:44 am to
If you didn't figure this out yet, here is the file you want.

LINK
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram