I have been using the following formula which works fine, but I would like to be able to change the Year part of the dates and wondered whether there is a way of referencing a cell value which would contain the year and therefore make it easier to change, I was thinking about the Indirect function but I'm not sure how to use this or whether that would be the best way. I use 52 instances of this formula ( 1 for each week of the year ) and don't wish to have to frequently edit all of them.
=SUMPRODUCT((Records!$F$2:$F$40000>="2017-1-1"+0)*(Records!$F$2:$F$40000<"2017-1-7"+1)*((Records!$I$2:$I$40000>0)+(Records!$J$2:$J$40000>0)+(Records!$K$2:$K$40000>0)))
Thanks for any help.
=SUMPRODUCT((Records!$F$2:$F$40000>="2017-1-1"+0)*(Records!$F$2:$F$40000<"2017-1-7"+1)*((Records!$I$2:$I$40000>0)+(Records!$J$2:$J$40000>0)+(Records!$K$2:$K$40000>0)))
Thanks for any help.