Hi,
I'm trying to create a function which could inspect a row, check a date on one column and add the number from another column to a sum if the date falls into a given interval.
For example, let the column X have the dates and the column Y the numbers. And let the condition for the date to be May 2017.
If, say, X1 has the 3rd of May 2017 and Y1 has the number 4, four should be added to the sum. If X2 has the 12th of July 2018 and Y2 has the number 6, thid row should be ignored and the sum stays the same and so on for the remaining rows.
How could I implement a function for this purpose? As far as I know, the COUNTIF(S) function(s) aren't quite suited for this problem.
Thank you for your help!
Bookmarks