Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Chris
The approach is again the same. You dont need a reference column C The below will return the total for the month of January only from 2000 to 2010 (both inclusive) =SUMPRODUCT((TEXT(A3:A36526,"mm")="01")*(YEAR(A3:A 36526)=2000)*(YEAR(A3:A36526)<=2010)*(B3:B36526)) If this post helps click Yes --------------- Jacob Skaria "Chris26" wrote: Hi I have a set of daily data (total rainfall) for100 years. What would be the easiest way to extract the total rainfall for:- January Year 2000-2100, February 2000-2100 etc and also Total rainfall for 2001, 2002 etc Col A (Date-Days) Col B (Rainfall mm) Col C (Format to only show year) 1 Jan 2001 0 2001 2 Jan 2001 6 2001 3 Jan 2001 4 2001 to 31 Dec 2100 20 2100 I have manged to get the following to work =SUMPRODUCT((TEXT(C3:C36526,"yyyy")="2001")*(B3:B3 6526)) although is it possible to change "2001" to a cell ref so dont have to go into each individual line and cgange to "2002", "2003" etc Many Thanks Chris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumif by month and year | Excel Worksheet Functions | |||
sumproduct by year?? | Excel Discussion (Misc queries) | |||
sumif for months and year | Excel Worksheet Functions | |||
sumproduct for month and year | Excel Discussion (Misc queries) | |||
sumproduct in a given year | Excel Worksheet Functions |