Jun 19 2023 01:23 AM - edited Jun 19 2023 02:26 AM
Hello,
I want to have a SUMPRODUCT function with several matrice, and one of them is comparing 2 dates but i wanna add 1 month to one of them:
=SUMPRODUCT(Range;([Actual end date range]<EDATE([Previsional end date range];1)*(other matrice i use))
But it doesn't work, because Edate doesn't seem to work in Sumproduct...
Any idea how I can bypass this issue ?
Thank you in advance for any help !
Jun 19 2023 01:49 AM
Jun 19 2023 02:27 AM
Jun 19 2023 03:16 AM
EDATE works with single cells only, not with a range of multiple cells.
Workaround: add a column with EDATE formulas to the raw data.
See the attached version.
Jun 19 2023 03:30 AM
=SUMPRODUCT(('Raw Data'!$B$2:$B$116="Closed")*('Raw Data'!$G$2:$G$116="Critic")*('Raw Data'!$D$2:$D$116<'Raw Data'!$I$2:$I$116))
I'd insert an additional column in sheet "Raw Data" for the EDATE, in the attached file it's column I. Then the above formula returns the intended result. Column A in sheet "Raw Data" isn't required since SUMPRODUCT counts the number of occurrences.