+ Reply to Thread
Results 1 to 6 of 6

Cell is showing negative calculation even if cells are not filled.

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Cell is showing negative calculation even if cells are not filled.

    Hi,

    In my spreadsheet I am calculating time minus break. I have drop down list to choose start time and end time and drop down list for breaks where the formula for breaks only is if its 15 minutes then value is 0 if 30 minutes then its .5.

    The problem I'm getting is, the days that are not yet filled is showing a negative total.

    I tried to combine some IF statements with ISBLANK but can't get around it.

    Any suggestions please? Please see my sample workbook.

    Thank you very much in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Cell is showing negative calculation even if cells are not filled.

    1. Don't put the numerical values inside " ". That turns them into text.

    2. Change the formula in AC3 to:
    =IF(AB3="","",IF(AB3=0,0,IF(C3=15, 0,0.5)))

    3 Copy/paste down to AC10.

    4. Select AC3:AC10. Copy /pase into AE, AG, etc.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Cell is showing negative calculation even if cells are not filled.

    Hi Glenn,

    Thank you very much for the help. It is working but there are some cells that is not working though the formula is in place and the cell range is correct.

    Columns C3, I3, and O3 is not working. When I change the the option either 15 or 30 from the drop down list the result doesn't change.

    Any thoughts please?

    Thank you.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,211

    Re: Cell is showing negative calculation even if cells are not filled.

    Check your formulae: I tested using file from Glenn's post and all work OK.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Cell is showing negative calculation even if cells are not filled.

    Hi John,

    I checked all the formula carefully and all is ok but it's not working. I wonder if this is a glitch on an excel using on a Mac.

    Otherwise, I'm happy with the formula I would probably just redo the other columns that doesn't work.

    Thanks to you both.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Cell is showing negative calculation even if cells are not filled.

    I don't understand what you THINK is wrong. See file. What is wrong, where? Post a screenshot of THIS file showing an incorrect result & explain exactly what should have appearred in which cell.

    What Excel version (2016, 365, etc) on which Platform (PC, Mac) are you using. Amend your profile, if needed. It will make no difference to the formula used...but it should be correct.
    Attached Files Attached Files

+ 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. [SOLVED] how to limit formula visibility or calculation until adjacent cell filled.
    By jitterbug888 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-06-2020, 03:56 AM
  2. Count filled and empty cells from the first filled cell in a row
    By mdaoust in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-01-2014, 01:23 PM
  3. Replies: 12
    Last Post: 07-10-2012, 05:04 PM
  4. How to mark cells based negative value or on calculation
    By klmaric in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2011, 07:15 PM
  5. Replies: 2
    Last Post: 01-19-2009, 02:18 PM
  6. stopping a cell showing negative figure
    By Crasher in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2007, 11:19 PM
  7. [SOLVED] Showing negative 'Times' in cells.
    By Chives in forum Excel General
    Replies: 1
    Last Post: 04-20-2005, 01:06 PM

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