Sumif between two dates

Hi,

I have some data, one column has amounts, another has dates, im looking for some formula to sum if between two dates, the dates will be entered into cell C5 & C6, the ranges are columns E (amounts) & N (dates)

Thanks
Seamus2626Asked:
Who is Participating?
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.

SteveCommented:
Something like this should work in 2010

=SUMIFS(E:E,N:N,">=" & C5,N:N,"<=" & C6)

Earlier than 2007 try:

=SUMPRODUCT(E:E,N(N:N>=C5),N(N:N<=C56))

If you can specify the ranges either by using table refs or by E1:E999 7 N1:N999 this will speed things up somewhat.
0

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
Seamus2626Author Commented:
Pooooooifect, thanks!
0
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.