+ Reply to Thread
Results 1 to 5 of 5

IF(OR Formula Displays Zeros instead of Blanks

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    Ireland
    MS-Off Ver
    Excel 2016
    Posts
    33

    IF(OR Formula Displays Zeros instead of Blanks

    Hello.

    I need a formula which will copy cells as they are, unless they are higher than 28, in which case, the number 28 should be inserted. If a cell is blank, I require it to stay blank, and not go to zero.

    My simple IF(OR(C24="",C24<28),C24,28) formula worked well, but became wrong somewhere along the line: blanks became zeros, which messed up an =AVERAGE calculation, to follow.

    Is there a better method?
    I have extensive data and have attached an example worksheet.

    Regards.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,034

    Re: IF(OR Formula Displays Zeros instead of Blanks

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,034

    Re: IF(OR Formula Displays Zeros instead of Blanks

    Or:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-17-2014
    Location
    Ireland
    MS-Off Ver
    Excel 2016
    Posts
    33

    Re: IF(OR Formula Displays Zeros instead of Blanks

    Great. Nested IF. Thanks again: two questions tonight and answered within minutes. Brilliant.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,034

    Re: IF(OR Formula Displays Zeros instead of Blanks

    You're welcome. Thanks for the rep.

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