Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
just be sure after entering the formula in formula window press
shift+control+enter & not just enter. What difference does that make? -- Carl & Linda Brehm "NC" wrote in message oups.com... 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As already specified in message pressing "Shift+control+enter" after
entering formula makes it be treated as array formula for more on array formulas visit following url http://www.cpearson.com/excel/array.htm Regards NC |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMIF help needed | Excel Discussion (Misc queries) | |||
Help needed with a SUMIF(AND | Excel Discussion (Misc queries) | |||
SumIf help needed ( I think) | Excel Discussion (Misc queries) | |||
SumIf help needed plz... | Excel Worksheet Functions | |||
SUMIF help needed | Excel Worksheet Functions |