+ Reply to Thread
Results 1 to 4 of 4

Returning Zeros as blanks but not at Midnight!

  1. #1
    Registered User
    Join Date
    07-12-2019
    Location
    England
    MS-Off Ver
    365
    Posts
    64

    Returning Zeros as blanks but not at Midnight!

    Hi. I am building a sheet with lots of formulas that return zeros where there is no associated data. I have changed the settings to hide 0 value returns to keep the sheet looking clean. The problem I have is that some of my cells have the time value of midnight, displayed as 00:00. This time is being seen as 0 value and it is hiding the time leaving the cell blank.
    Currently to get around this I have had to changed the midnight times to show 00:01 but this is not really the way I want to get around this problem.

    Is there anything I can do to hide all of the 0's but when then cell is trying to display the time of 00:00 to allow it?

    TIA

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Returning Zeros as blanks but not at Midnight!

    00:00 is only how XL displays midnight it is not really zero
    You could try =IF(your_formula=0,"",your_formula) to get rid of the 0's
    Be aware that if you need these values in another formula the "" is a text string...

  3. #3
    Registered User
    Join Date
    07-12-2019
    Location
    England
    MS-Off Ver
    365
    Posts
    64

    Re: Returning Zeros as blanks but not at Midnight!

    Thank you. This has solved my issue
    Last edited by AliGW; 02-21-2020 at 04:05 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Returning Zeros as blanks but not at Midnight!

    Most welcome

+ 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. Min formula with blanks or zeros
    By Aussibuilder50000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2017, 08:08 AM
  2. Filtering out zeros and blanks
    By hbusche in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-25-2013, 03:29 PM
  3. [SOLVED] Help with Vlookup blanks and zeros
    By consulttk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2012, 10:40 AM
  4. Fill blanks with zeros
    By Snark in forum Excel General
    Replies: 1
    Last Post: 07-15-2008, 04:33 PM
  5. formulas with blanks and zeros
    By rebraku in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-18-2007, 06:39 PM
  6. Blanks chart as zeros
    By CLR in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 04-10-2005, 09:06 PM
  7. Ignore blanks or zeros
    By gil0730 in forum Excel General
    Replies: 1
    Last Post: 02-03-2005, 12:12 AM

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