I have the formula in an excel cell:
Code:
=IF(SUMPRODUCT(($F3=Sname)*(Sfrom<=G$2)*(Sto>=+G$2))+IF(WEEKDAY(G$2,2)>5,2,0)=1,"A","")[code]
The named ranges Sname, Sfrom and Sto are all relating to another sheet. This gives an error #NUM!.
Whenever I have the named ranges on the same sheet it works, why is this?
Please can anyone help.
I could not see any clues from reading the previous posts to do with this function.