+ Reply to Thread
Results 1 to 2 of 2

COUNTIF Problem for several sheets

Hybrid View

  1. #1
    Registered User
    Join Date
    06-10-2010
    Location
    Lodon, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    COUNTIF Problem for several sheets

    Hey Guys,

    I'm trying to create a ROTA using excel. I want to use the COUNTIF function to tell me how many days in a month an employee has off.

    Under the respective day, a number 2 indicates the employee has a day off.

    For a month, there are four pages (one per week) so I'm trying to reference different cells on different pages to find out how many 2's there are.

    On my 'summary page' (where this information is displayed) to access data from one page is easy:

    =COUNTIF('31-5-10'!E11:P11,"2")
    but when I want the data from the remaining three pages:

    '7-6-10' C11:P11
    '14-6-10' C11:P11
    '21-6-10' C11:P11
    '28-6-10' C11:G11

    I just get errors when I try and create the formula. Could anyone point me in the right direction, or show me how to merge the 5 pages worth of references into one formula?

    Thanks!

    Sam

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Another COUNTIF Problem.

    You can add separate COUNTIF's (one for each together)..

    e.g.. =COUNTIF()+COUNTIF()+, etc...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1