Triedtwice
New Member
- Joined
- Feb 17, 2014
- Messages
- 31
I have a calendar-type layout with dates from 27 Dec 20 to 01 Jan 21 on B39:V39, 17 Jan 21 to 06 Feb 21 on B41:V41, 07 Feb 21 to 27 Feb 21 on B43:V43, etc.
On the rows beneath the dates, I have values that I need to sum, based on pay periods. I have named the noncontiguous day range as Date_Matrix and the noncontiguous value range as Hours_Matrix.
is it possible to use a formula to sum values that corresponding to a particular date, based on a data range? I've tried the following:
=SUMIFS(Hours_Matrix,Date_Matrix,">=C6",Date_Matrix,"<=D6")
where C6 is 01 Jan 21 and D6 is U.
Unfortunately, I get a #Value error.
are the noncontiguous ranges preventing me from accomplishing this?
On the rows beneath the dates, I have values that I need to sum, based on pay periods. I have named the noncontiguous day range as Date_Matrix and the noncontiguous value range as Hours_Matrix.
is it possible to use a formula to sum values that corresponding to a particular date, based on a data range? I've tried the following:
=SUMIFS(Hours_Matrix,Date_Matrix,">=C6",Date_Matrix,"<=D6")
where C6 is 01 Jan 21 and D6 is U.
Unfortunately, I get a #Value error.
are the noncontiguous ranges preventing me from accomplishing this?