• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Counting number of leave days over the year

Hello,
I have a workbook with 53 work sheets in it.
52 of these work sheets are hours worked and leave days taken for every week of the year.
The 53rd sheet calculates the amount of days worked, leave days, sick days etc over the year by using:
=SUMPRODUCT(COUNTIF(INDIRECT("'"&TabNames&"'!K9:K13"),A3))

but this formula is not working!
I attach the file here:
https://dl.dropboxusercontent.com/u/90990975/Timesheet 2014.xlsm

Can you help?
 
Last edited:
Hi there,

Only looked at your named ranges, but I noticed alot of REF# values... including the named range "TabNames" you use in your formula.
 
Hi kevinonearth,

To follow up my previous post, if you reference "TabNames" to the numbers(!) in your "TabNames"-sheet... keep in mind that you first convert these numbers to text. I.g. by using something like this: =TEXT(A1,"dd mmmm yyyy")
 
Back
Top