+ Reply to Thread
Results 1 to 8 of 8

how to solve #num error

  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    119

    how to solve #num error

    Hi, I'm trying to sum data between specific date ranges and meeting a condition using SUMPRODUCT(). the forumlas works out in samples bt while working in actual sheet it shows a #num error.

    Sheet attached, kindly help to resolve it.
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: how to solve #num error

    In Excel versions 2003 and earlier you can't use entire columns as range references in the SUMPRODUCT function.

    Use smaller specific ranges.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: how to solve #num error

    Hi,

    SUMPRODUCT will not work with whole rows or columns as its range references.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: how to solve #num error

    I think some simple changes to your formulas will work:

    Using your posted workbook...on the Salary sheet...
    Please Login or Register  to view this content.
    Copy that formula across and down through cell I9

    Is that something you can work with?
    Last edited by Ron Coderre; 05-22-2013 at 09:20 AM. Reason: Ooops! Posted the non-2003 version
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  5. #5
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    119

    Solved: how to solve #num error

    Hi All,

    Thanks for your support. its done now.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: how to solve #num error

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    119

    Re: how to solve #num error

    Could you help on this?

    kindly suggest me for my following requirement.

    I have opening leave balance with in the records and total leave availed during the current month, Required formulas for getting leave brk up of the availed leaves of the month meeting the availability of opening balance. I had almost derived at the formula. the problem which i'm facing now is

    if there id 2.5 days of CL and 2 days of SL as opening balance and if an employee has availed 3 days of leave during the current month, mu formula split up shows it in the brk up as 2.5 days of CL and 0.5 days SL, which is inturn correct bt i dnt want a full day to be taken into split up of Half days. the desired result shud be of 2 CLs and 1 SL, then closing balance shud be 0.5 CL and 1 Sl in that case.. attached excel file for ready reference.

    Shud i change my format of maintaining the time sheet, in such a way it meets the formula requirement? do suggest.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    119

    Re: how to solve #num error

    I wanted to create an attendance file for automating leave break up into CL & SL, meeting the certain conditions listed below.

    1. an employee is eligible for 1 CL credit per month pertaining to Date of joining, whereas attendance is calculated on regular months.
    ex. if an employee joins by 15th April 2013, he is eligible for 1 day leave till 15th May 2013, post to which he is eligible for additional 1 day credit for his 2nd month.

    during the attendence period for 1st May to 31st may, he has an opening balance of 2days leave. say if he avails 2days leave on 3rd May 2013 and 14th May 2013, 1 day leave should be reduced from the opening balance and 1 day should be reflected in Loss of pay (LOP) and he should have balance 1 day leave as closing balance which could be adjusted in his 2nd month of joining (i.e) for the leaves he avails after 15th May.


    In Simple, i required a formula where leaves should be counted from two different range meeting Date of joining as condition.
    that is. to count leaves taken before the completion on 1month (from DOJ) and after completion

    Sheet attached for the same. Can anybody help in solving my query, Seeking urgent revert on the same.

+ 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