SUMIFS, where argument date is splitted into days along a column, months along a row.
Hi all,
I'm facing following problem.
A table containing numbers according to days and months such as the one here :
The table is organized as such and I can't change the layout since it is shared and readable that way.
For example, i can't set it up as a long table of 365 rows with the actual date in each row.
So days must be read along Col A and months Row 1.
My issue :
Between Today and 31 of december, the content of each cell minus 9 must be added considering that:
-non pertinent cells are empty (ex : April 31st, February 29th, ..)
-vaccation period cells are also empty.
otherwise 0.
For example the value in C2 to be added, if Today was before Feb 1st, and out of vaccation period, is : 9 - 1 = 8
And so on.
I tried SUMIFS, but the date definition with days in column and month in row doesn't seem to work in that function. Well, I couldn't make it...
If someone has an idea of counting without changing the layout, that would be great.
Thanks all for your time and help.
Lionnel.