Hey everyone! I need some help tweaking my formula to get rid of the #VALUE error it's generating.
Formula Goal: if range 1 (date format) is a Saturday, then sum the relevant cell in range 2 (number format) >> count how many of something is being done on Saturdays specifically out of all the days logged.
Formula: =SUMPRODUCT(--(WEEKDAY($B$4:$B$63)=7)*--$W$4:$W$63)
When I step into the formula I can see the problem are the blank cells in the range - I've used this formula before and haven't had an issue with this, but now I can't seem to find a workaround.
Any suggestions? (PS. I confirmed my observation by reducing the ranges to just the cells with data and it work fined)
Formula Goal: if range 1 (date format) is a Saturday, then sum the relevant cell in range 2 (number format) >> count how many of something is being done on Saturdays specifically out of all the days logged.
Formula: =SUMPRODUCT(--(WEEKDAY($B$4:$B$63)=7)*--$W$4:$W$63)
When I step into the formula I can see the problem are the blank cells in the range - I've used this formula before and haven't had an issue with this, but now I can't seem to find a workaround.
Any suggestions? (PS. I confirmed my observation by reducing the ranges to just the cells with data and it work fined)