A
AlanN
In my scheduling project (Excel 2002), I am creating cell dropdown validation to enter in work and time codes. A calculation I have to deal with the data (thanks to other newsgroup gurus!) is this: =SUMPRODUCT((J42:J407={"E","D","N","A","S","U","M","B","V","ST"})*($A$42:$A$407<TODAY())). In column A starting at J42 I have consecutive dates by day starting with 01/01/2004. column J is where the work codes are entered for the first employee and so on in consecutive columns for other employees.
I want to have the ability to add new codes in future without having to edit the calculation manually each time. I have trie to put a named range table in place of the unique codes in the calculation above, but it won't work. Is it possible to insert a named range into a sumproduct command? If so what syntax would I need?
TIA, Alan
I want to have the ability to add new codes in future without having to edit the calculation manually each time. I have trie to put a named range table in place of the unique codes in the calculation above, but it won't work. Is it possible to insert a named range into a sumproduct command? If so what syntax would I need?
TIA, Alan