ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif Function Help (https://www.excelbanter.com/excel-worksheet-functions/11353-sumif-function-help.html)

Carl Brehm

Sumif Function Help
 
=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

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.

Carl Brehm wrote:
=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



All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com