+ Reply to Thread
Results 1 to 6 of 6

Formulas for a attendance sheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Talking Formulas for a attendance sheet

    I have 2 shets:
    I. The index of all client names(A) and the 2 types of planned sessions(B,C) and actual held sessions(D,E) and absences(F)
    II. The Attendance record with date time(A,B) name(C) type of session(D)

    I would like to write in the type of session (II-D) a letter like K(for the I-D) H(for I-E) and M(for absence)
    I would like it to compute the number of sessions and the type from the second sheet to the first one.

    Thank you!
    Last edited by lesoies; 06-23-2013 at 07:11 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Formulas for a attendance sheet

    can you provide a sample spreadsheet - so we can see the layout and the outcome you require
    i suspect you can use index/match to bring across the details and an IF statement to use any codes

    and then a countif or countifs to count the codes and compute the sessions and attendance

    but would be useful to see a sample sheets
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Red face Re: Formulas for a attendance sheet

    I wrote 2 types of attendance records. If you could help me implement one of the two i would really appreciate it.
    Attached Files Attached Files
    Last edited by lesoies; 06-23-2013 at 08:13 AM.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Formulas for a attendance sheet

    Ok - I have used countIfs
    =COUNTIFS('Attendance Record Type one'!$C$2:$C$10,'Monthly Planned'!$A3,'Attendance Record Type one'!$D$2:$D$10,"K")
    But there are a lot of manual entered codes for the formula
    so it needs to be changed for the different coded

    K, H , M

    Also it will Not work out any dates - so will not automatically work out the Months data - although this can be done
    I have used the sheet ONE as that has codes -

    so some changes can also automate this information


    I have changed the date - to a real date entry and formatted to show just the day and month

    I Have also created a pivot table - to show you the possibility

    Added the new table in cells G-K
    Added as a table - so as you ADD new rows - it will be available to the pivot table - Just need on the pivot table to hit refresh - and the data comes into the pvt sheet

    the pivot sheet named PVT - shows the codes - but that could easily show the names for each of those codes
    also the drop down at the top will also change the table to look only at certain months - or that could be on the PVT itself

    hope I have not confused

    have a look see what you think , and we can redesign to meet your needs

    and if you added the planned dates into the 2nd sheets as well - that could also be included

    BUT I have automated your monthly sheet - as the original request
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Red face Re: Formulas for a attendance sheet

    Lesoies, Good morning.

    I have a little contribution to your question too.

    I used the SUMPRODUCT function.
    I did a simulation about yours two different type of control.

    Take a look at it and tell us if it worked for you.

    I hope it helps
    Attached Files Attached Files
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  6. #6
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Re: Formulas for a attendance sheet

    Awesome work! Thanks! I just sent you a PM

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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