Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Add numbers between certain dates
I have dates in one colum and values in another colum. I want to add values
that are between Jan.1 to Jan. 31. How can I formulate this? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Add numbers between certain dates
=SUMPRODUCT(--(MONTH(A2:A200)=1),B2:B200)
Note that SUMPRODUCT doesn't work with complete columns, you have to specify a range. If there could be multiple years data then use =SUMPRODUCT(--(YEAR(A2:A200)=2006),--(MONTH(A2:A200)=1),B2:B200) -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Confused" wrote in message ... I have dates in one colum and values in another colum. I want to add values that are between Jan.1 to Jan. 31. How can I formulate this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Prevent excel changing numbers data to dates. | Excel Discussion (Misc queries) | |||
reversing numbers to create dates | Excel Worksheet Functions | |||
Calculate numbers between 2 dates | Excel Discussion (Misc queries) | |||
Converting Text months to sortable Numbers or Dates | Excel Discussion (Misc queries) | |||
Dates to numbers | Excel Worksheet Functions |