Adjusting nested Array Forumula - Date Format

With help, I created this worksheet where the Array Formula collects hours from D & E column and it sums for each month in G10:I17 (D column) & G26:I33 (E Column).


It works perfect except I just noticed that is is summing Dec 2010 into Dec 2011 totals into I17.  It makes sense because it is looking for DEC only, not looking at the year. I need the Dec 2010 totals into a new set labeled in G8 with the total in G9. I tried to change the formatt of the formula to also look at the year, but I was not successful.

Thanks for any help.
Brent Expert-sumiftext-questions.xls
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

barry houdiniCommented:
Hello Bryan, there's a password on that sheet so I can't amend but if you change to this non-array formula

=SUMPRODUCT((TEXT($C$4:$C$220,"mmm yyyy")=G10)+0,$D$4:$D$220)

with G10 changed to a text value Jan 2010 [ to input as text use a preceding apostrophe, i.e. 'Jan 2010]

regards, barry

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
barry houdiniCommented:
Sorry, Brent ....:)
bvanscoy678Author Commented:
sorry, password is 678. Let me look and try this. thanks
bvanscoy678Author Commented:
Yes, that did the trick. I am will go back and read up on sumproduct, so I understand the )+0
portion of the furmula and also how it uses the text and format to sum the numbers.

Brent Expert-sumiftext-questions.xls
bvanscoy678Author Commented:
Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.