+ Reply to Thread
Results 1 to 10 of 10

Attendance Sheet Formula not working, please rectify it.

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    68

    Attendance Sheet Formula not working, please rectify it.

    Formula in my attached sheet revert #NAME?, Please make it correct for me. Thanks
    Attached Files Attached Files
    Last edited by NonStopLeo; 03-15-2010 at 08:43 AM.

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

    Re: Formula not working, please rectify it.

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    ALSO, no workbook attached.
    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.

  3. #3
    Registered User
    Join Date
    03-10-2010
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Formula not working, please rectify it.

    I have attached the workbook now. Please help

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Attendance Sheet Formula not working, please rectify it.

    1 - the formula is an Array and must be confirmed as such (CTRL + SHIFT + ENTER not Enter)

    2 - presumably "P" stands for present and dates are not to be listed in which case you should subtract the value of Col AG from your initial test)

    AI6:
    =IF(COLUMNS($AI6:AI6)>(SUM($AD6:$AH6)-$AG6),"",SMALL(IF($B6:$AC6<>"P",$B$4:$AC$4),COLUMNS($AI6:AI6)))
    confirmed with CTRL + SHIFT + ENTER

  5. #5
    Registered User
    Join Date
    03-10-2010
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Attendance Sheet Formula not working, please rectify it.

    The formula is not working with me, it gives ERROR, please help me. Thanks

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Attendance Sheet Formula not working, please rectify it.

    NonStopLeo - you're not really helping yourself here I'm afraid... in reality your last post is pretty pointless.

    For people to best assist I would suggest you post a sample with the suggested formulae in place thereby illustrating the problems you're facing.

    To reiterate though - you must ensure you commit the formula as an ARRAY (as indicated previously by virtue of red bold font).

  7. #7
    Registered User
    Join Date
    03-10-2010
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Attendance Sheet Formula not working, please rectify it.

    Dear team, I have tried my level best to complete the formula, it is given accurate result but onething,
    It is also giving the values of blanks cell, please help me, I dont want values of blank cells. Please help.
    Attached Files Attached Files

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Attendance Sheet Formula not working, please rectify it.

    Rather than repeat myself I will simply quote from post # 4

    Quote Originally Posted by D.O
    2 - presumably "P" stands for present and dates are not to be listed in which case you should subtract the value of Col AG from your initial test)

    AI6:
    =IF(COLUMNS($AI6:AI6)>(SUM($AD6:$AH6)-$AG6),"",SMALL(IF($B6:$AC6<>"P",$B$4:$AC$4),COLUMNS($AI6:AI6)))
    confirmed with CTRL + SHIFT + ENTER
    So though your setup has now changed ("P" column was AG now AJ) the above logic persists.

  9. #9
    Registered User
    Join Date
    03-10-2010
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Attendance Sheet Formula not working, please rectify it.

    How can I exclude dates of blank cells which are also shown with this formula?

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Attendance Sheet Formula not working, please rectify it.

    The formula provided (though not used) does what you want - you just need to adjust the column references.

    There is really nothing more I can add to this discussion I'm afraid.

+ 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