Sumif Help needed

C

Carl Brehm

=SUMIF(A3:A356,MONTH(TODAY())-1,F3:F356) ' works fine
but
=SUMIF(A3:A356,MONTH()=1,F3:F356) 'does not
=SUMIF(A3:A356,MONTH(A3:A356)=1,F3:F356) 'does not
Really need the second line to work

Why? Is there a way around it, not using sumproduct?

--
Carl & Linda 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
 
N

NC

hi you can try yhe following ARRAY formula.

=SUM(IF(MONTH(A3:A356)=1,F3:F356))

just be sure after entering the formula in formula window press
shift+control+enter & not just enter.

excel will treat this as an array formula and show it as
{=SUM(IF(MONTH(A3:A356)=1,F3:F356))}

hope it solves your problem.

Best Regards
NC
 

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

.cells help 3
Sumif Function Help 1
Range("Weekending").Cells.Columns.Count 4
Function to convert string 13
Formula Help 1
sum (column 2 of namedrange) 4
Error 1004 help 4
Help with summing 3

Top