+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Formula change in Attendance Sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    03-14-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    2

    Formula change in Attendance Sheet

    I have an attendance spreadsheet, A1 through A38 are the employee names and the row designates their position. Colums C through AG, are the days of the week. "SL","D/SL","N/SL" are the designations of the sick leave types. Here is the formula that was built before I took over the spreadsheet.

    =SUM(IF(((C18:AG18="SL")+(C18:AG18="D/SL")+(C18:AG18="N/SL")),1,0)).

    Now this works fine until the crews decide to bid on different positions. Is there a way to make/change this formula so that when the employee moves from A1 to A23 that I can get the formula to update the move?

    The formula is in D59 below the attendance matrix to give totals for the month and arrays down for the complete employee list. B59 is the Employees name alphabetically for Human Resources, I was thinking about using C59 to reference the row # for the employee and position up in the attendance matrix and have the formula reference that number, but of course I can't get it to work.

    Any Thoughts???
    Thank you in advance!!!

    Tom
    Last edited by firetraining; 04-03-2012 at 09:11 AM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Not sure if even possible ... but here it goes!!!

    could you attach a sample workbook for this?
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Not sure if even possible ... but here it goes!!!

    Hey Firetraining,

    Welcome to the forum.

    Your thread title is not as per forum rules. Please change it to something like "Formula change required" or "Formula change in attendance worksheet".

    Click on Edit Post -> Go Advanced and edit your title.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    03-14-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Formula Change in attendance sheet

    Never thought of that DGagnon.
    Lol but here is the attachment. I modified the original to reduce the size of the file and highlighted the formula cells that I am having trouble with. I think it is pretty self explanatory.

    Thanks in advance.

    Tom

    Attendance_Sample.xlsx

+ 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