+ Reply to Thread
Results 1 to 4 of 4

If sum is negative, how do I create a blank cell.

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    San Diego
    MS-Off Ver
    2010
    Posts
    2

    Question If sum is negative, how do I create a blank cell.

    Hello! This is my first time posting so I'd just like to just say that I'm pretty new to excel and self taught. I'm working with time and have formatted my cells in the [h]:mm:ss. I was having an issue with subtracting so I have put some data on on Sheet2. I'm trying to subtract 0:02:00.

    So my real issue is I need any negative values, showing as #####, to show as blank or zero. I haven't had any luck so far.
    Please Login or Register  to view this content.
    Thanks to anyone who is able to help!

  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: If sum is negative, how do I create a blank cell.

    Maybe this to return 0:

    =MAX(0,IF(C28>W28, C28-W28, "0:00:00")+(M28-Sheet2!A2))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    10-21-2016
    Location
    San Diego
    MS-Off Ver
    2010
    Posts
    2

    Re: If sum is negative, how do I create a blank cell.

    Wow, yes! Thank you so much for your help Tony

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

    Re: If sum is negative, how do I create a blank cell.

    You're welcome. Thanks for the feedback!

+ 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. Create a BLANK cell If zero's
    By Dougiebn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2016, 03:18 PM
  2. [SOLVED] Formula to create a blank cell based on a dollar amount in another cell.
    By avidcat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2014, 02:11 AM
  3. Replies: 2
    Last Post: 09-20-2013, 01:43 PM
  4. How to delete cells (i.e. make a blank cell) if numbers are negative
    By geomatics in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2012, 11:18 AM
  5. If/Then Forumla to create blank cell???
    By gmh in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-24-2006, 02:25 PM
  6. [SOLVED] display negative values as a blank cell in Excel
    By pherozeb in forum Excel General
    Replies: 4
    Last Post: 01-05-2005, 01:06 AM
  7. display negative values as a blank cell in Excel
    By Pheroze Bharucha in forum Excel General
    Replies: 1
    Last Post: 01-04-2005, 07:23 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