Sumif Function Help

C

Carl Brehm

=SUMIF(Month(A3:A30),1,E3:E30)

Why does this not work?
Returns "the formula you typed creates and error"

Thanks
--
Carl Brehm
Lake Lafourche Bird House
Hebert, LA

Keets, Tiels, GN Lories, Quakers
Mitred Conures, TAG's, Bourkes
Lovebirds, Cherry Head Conures
Prince of Whales

Wholesale Cages to Breeders & Pet Stores
 
A

Aladin Akyurek

SUMIF does not admit array objects, something that Month(A3:A30) would
return...

=SUMPRODUCT(--(Month(A3:A30)=1,E3:E30)

on the other hand would.

BTW, it would be wiser to also add a year test to the formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with summing 3
Application.WorksheetFunction.Match problem 1
Sumif Help needed 3
.cells help 3
Excel 98 and Win ME 3
Function to convert string 13
Range("Weekending").Cells.Columns.Count 4
Formula Help 1

Top