Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula error; was working
I have a formula that was working last week and today I get the ominous #REF!
error. The value in cell K44 equals 11 Here's the formula: =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(TODAY()&":"&TODAY()+(K44/2))))/7)) Last week the value in cell K44 equaled 36; don't know if this helps. Thanks for looking. El Bee |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formula error; was working
You are ending up with a Row Number that is a fraction because K44 is odd and
not divisible by 2. 36 is even and 11 is odd. =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(TODAY()&":"&TODAY()+INT(K44/2))))/7)) "El Bee" wrote: I have a formula that was working last week and today I get the ominous #REF! error. The value in cell K44 equals 11 Here's the formula: =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(TODAY()&":"&TODAY()+(K44/2))))/7)) Last week the value in cell K44 equaled 36; don't know if this helps. Thanks for looking. El Bee |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error on Working Macro | Excel Discussion (Misc queries) | |||
On Error Not Working... | Excel Programming | |||
Error Trap not working | Excel Programming | |||
Why isn't my error handling working?! | Excel Programming | |||
error 50290 when working from dll | Excel Programming |