+ Reply to Thread
Results 1 to 2 of 2

Getting negatives (-1) in the out put

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    18

    Getting negatives (-1) in the out put

    Hi,

    I am using one file, in that out put is coming but some times it is showing out put as -1.

    Can you please help me out.

    Please find the attachment.

    In the Sheet 1 Column X some out puts are coming as -1, can you please help out with what is the error in my formula.

    Regards
    Kasi
    Attached Files Attached Files

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Getting negatives (-1) in the out put

    This is this bit
    (NETWORKDAYS(Q2,S2,Holidays!$B$3:$B$23)-1)
    WHy are you substracting one day?
    #As well here


    if you are using IF statment you must stay what is going to happen if the logical test is TRUE and then FALSE
    As it is, this part:
    IF(NETWORKDAYS(S2,S2,Holidays!$B$3:$B$23),MEDIAN(MOD(S2,1))
    returns FALSE alone.
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sum Negatives into next Positive
    By ScooterNM5 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-05-2010, 07:01 AM
  2. formula to allow only negatives
    By Jack 42 in forum Excel General
    Replies: 8
    Last Post: 05-04-2007, 01:58 PM
  3. Negatives to Positives, Positives to Negatives
    By Virginia Woolf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2007, 08:59 PM
  4. [SOLVED] Positives and Negatives
    By Niagera College Student in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2005, 06:05 PM
  5. [SOLVED] No negatives
    By PCOR in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2005, 03:06 PM

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