Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a data range A-H with an expanding number of rows. Column A contains
dates. Column H contains totals of the input in columns B-G. I want the totals for each month and am trying the formula =SUMIF($A$2:$H$30,(MONTH($A$2:$A$30)=4),$H$2:$H$30 ) but get 0 as the result. Excel says the criteria is True and there are figures in column H. Why does this not work and is there an alternative? Thanks, Ron R. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMPRODUCT(--(MONTH($A$2:$A$30)=4),$H$2:$H$30)
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ronnomad" wrote in message ... I have a data range A-H with an expanding number of rows. Column A contains dates. Column H contains totals of the input in columns B-G. I want the totals for each month and am trying the formula =SUMIF($A$2:$H$30,(MONTH($A$2:$A$30)=4),$H$2:$H$30 ) but get 0 as the result. Excel says the criteria is True and there are figures in column H. Why does this not work and is there an alternative? Thanks, Ron R. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Bob,
Works perfectly. thanks Ron "Bob Phillips" wrote: =SUMPRODUCT(--(MONTH($A$2:$A$30)=4),$H$2:$H$30) -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ronnomad" wrote in message ... I have a data range A-H with an expanding number of rows. Column A contains dates. Column H contains totals of the input in columns B-G. I want the totals for each month and am trying the formula =SUMIF($A$2:$H$30,(MONTH($A$2:$A$30)=4),$H$2:$H$30 ) but get 0 as the result. Excel says the criteria is True and there are figures in column H. Why does this not work and is there an alternative? Thanks, Ron R. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
Sumif and IF ??? | New Users to Excel | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |