I have two formulas that you folks were kind enough to help me with that have thrown me a curve ball. They are supposed to provide a total for the month and the total for the year but are not showing the same result.
The value in A3 is 1.
Formula for the number of days that have a value in column NJ:
Formula for the number of days this year that have a value in column NK:
The data entered is only for the month of January so both results should be the same but they aren't. I am not very familiar with OFFSET so I am not sure how to resolve this issue. Can anyone help?
Attached is a screen shot of the results. Columns NJ and NK should show the same value but do not.
I cannot use XL2BB on this computer.
Thank you for your patience - and any help!
The value in A3 is 1.
Formula for the number of days that have a value in column NJ:
Excel Formula:
=SUMPRODUCT((OFFSET($A9,0,31*($A$3-1)+1,1,31)<>"")*(IF(OFFSET($A9,0,31*($A$3-1)+1,1,31)=$NR$16,0.5,IF(OFFSET($A9,0,31*($A$3-1)+1,1,31)=$NR$17,0.5,1))*(OFFSET($A$4,0,31*($A$3-1)+1,1,31))))
Formula for the number of days this year that have a value in column NK:
Excel Formula:
=SUMPRODUCT((OFFSET($A9,0,1,1,372)<>"")*(IF(OFFSET($A9,0,1,1,372)=$NR$16,0.5,IF(OFFSET($A9,0,1,1,372)=$NR$17,0.5,1))*(OFFSET($A$3,0,1,1,372))))
The data entered is only for the month of January so both results should be the same but they aren't. I am not very familiar with OFFSET so I am not sure how to resolve this issue. Can anyone help?
Attached is a screen shot of the results. Columns NJ and NK should show the same value but do not.
I cannot use XL2BB on this computer.
Thank you for your patience - and any help!