+ Reply to Thread
Results 1 to 2 of 2

Array returns 0 rather than blank

  1. #1
    Forum Contributor
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    191

    Array returns 0 rather than blank

    Hi Everyone,

    I have this array pulling the max value from a table and when a cell in row 4 is blank, i'd like for it to also be blank, but it's returning a zero. The first instance of this can be seen in BX3 and onwards.

    Thanks in advance for the help!
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Array returns 0 rather than blank

    The problem is that your testing BX4 with IF(ISBLNK(BX4),""
    But BX4 is NOT blank, it contains a formula.
    A cell that contains a formula is NOT blank, regardless of what that formula returns. Just the fact that the cell contains a formula makes it NOT blank.

    Also, the formula you have in BX4 is returning " ", that's a SPACE.
    We generally try to use "" (a zero length text string) to represent the closest thing to blank that we can get.

    So change the formula in row 4 from using " " to just ""
    Then change the formula in row 3 to test for 'blank' with
    IF(BX4="",

+ 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 let dos query returns an array.
    By ikboy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-10-2016, 10:39 PM
  2. Replies: 6
    Last Post: 11-01-2014, 11:33 AM
  3. [SOLVED] When my formula encounters a blank cell it returns a 0, I need it to return a blank
    By stretch99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2014, 07:52 PM
  4. Replies: 4
    Last Post: 12-19-2013, 09:49 AM
  5. SEARCH function returns array if first argument is array--Huh?
    By 6StringJazzer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-10-2012, 07:23 PM
  6. Replies: 0
    Last Post: 04-09-2012, 09:23 PM
  7. Replies: 1
    Last Post: 07-27-2006, 11:30 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