+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Attendance formula

  1. #1
    Registered User
    Join Date
    07-03-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003
    Posts
    4

    Attendance formula

    I am brand new to the forum, although I do not consider myself a "newbie" to Excel.

    I am having a very hard time with the following:
    This is a sheet to track attendance
    Column A = codes
    Column B = names
    Column C-BN = Dates of the year

    I need to find out how many people attended that have a specific code listed in column A

    So, if John Doe has a specific code that I am looking for and he is markes as Yes in column H for attending, as well as Jane Doe and so one, I need to find the running total.
    Attached Files Attached Files
    Last edited by chefpoofoo; 07-03-2011 at 06:20 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Help with attendance formula

    I would suggest you upload a sample workbook with some typical data.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-03-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Help with attendance formula

    I have attached a sample sheet

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Help with attendance formula

    Still a bit confused. Can you give a specific example? What cell do you want the sum in? What result? Why? Pseudo formula, maybe? Where do you want the "running total"?

    Incidentally,

    =COUNTIF(H2:H79,"yes")/(COUNTA(H2:H79)+COUNTBLANK(H2:H79))

    could be replaced by:

    =COUNTIF(H2:H79,"yes")/ROWS(H2:H79)


    Regards

  5. #5
    Registered User
    Join Date
    07-03-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Help with attendance formula

    I would like to have excel return the count of people that have the code of YSA to cell H84, but only if they attended.
    Column H says that if they attended once for the whole month, they are counted as attended. I will need the formula to use column H as the reference on if they attended or not.
    So, I need the total count of people who attended from column H but only if the person has a code of YSA from column A.

    I hope I am wording this right.

    I have also attached a new file for you to look at. The old one did not have all of the rows.
    Last edited by chefpoofoo; 07-03-2011 at 05:58 PM.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Attendance formula

    H84 formula: =COUNTIFS(A2:A79,"YSA",H2:H79,"Yes")


    PS: Please update your profile. It says 2003 but you've uploaded a 2007/2010 type file.

    Regards

  7. #7
    Registered User
    Join Date
    07-03-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Attendance formula

    You are the MAN!

    Thank you very much

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Attendance formula

    You're welcome.

    If this has answered your problem, please mark your thread as solved. See my signature for details or the FAQ.

    Regards

+ 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