+ Reply to Thread
Results 1 to 12 of 12

Isblank not working when formula is inputted - what instead of?

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Isblank not working when formula is inputted - what instead of?

    Hi,

    i have formula like here:

    Screenshot_25.png

    and next in cell [E3] i have formula

    Please Login or Register  to view this content.
    which is not working. How can i handle this?
    And how isblank is working?

    What is blank and empty and null for Excel?

    Thank you!
    Best,
    Jacek

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Isblank not working when formula is inputted - what instead of?

    Try testing if the cell contains "" rather than ISBLANK.

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Isblank not working when formula is inputted - what instead of?

    agree with above however, for info, you can use COUNTBLANK rather than ISBLANK, former will return a 1/0 (equiv. to TRUE/FALSE coerced {in native XL})

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Re: Isblank not working when formula is inputted - what instead of?

    so why isblank was designed?

    thank you!

    and how to check if cell is empty and avoid white spaces?

    Best,
    Jacek

  5. #5
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Isblank not working when formula is inputted - what instead of?

    A Null string is not a Blank, it's a 0 LEN string, so you could easily argue that ISBLANK works correctly... COUNTBLANK effectively addresses the null string issue.

    Re: white spaces etc... depends on what you mean, exactly... if pure space

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

    if you mean other ASCII codes you might need to use CLEAN in conjunction with a SUBSTITUTE (or two), and TRIM etc...

  6. #6
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Re: Isblank not working when formula is inputted - what instead of?

    thank you Xlent,

    i mean tab, space.
    What i wnat to validate is to have "" (empty/null/blank) in cell.

    Best,
    Jacek

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Isblank not working when formula is inputted - what instead of?

    To avoid us all guessing what your data looks like please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  8. #8
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Re: Isblank not working when formula is inputted - what instead of?

    Hi Richard,

    problem is already solved but we are discussing what is null blank and empty in Excel.

    Best
    Jacek

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Isblank not working when formula is inputted - what instead of?

    Quote Originally Posted by jaryszek View Post
    Hi Richard,

    problem is already solved but we are discussing what is null blank and empty in Excel.

    Best
    Jacek
    Hi,

    In that case would you mind marking the thread as SOLVED please - see guidance in the Forum Rules.

    Thanks.

  10. #10
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Re: Isblank not working when formula is inputted - what instead of?

    Thank you Richard,

    technically is solved but still i do not understand what are differences between lsblank and countblanck and why null is sometimes like empty etc.

    Best,
    Jacek

  11. #11
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Isblank not working when formula is inputted - what instead of?

    Yes, it's not the best setup, however Colin Legg {who I would say is one of the most talented XL related people around} summarised it like this:

    Quote Originally Posted by Colin Legg
    An empty cell can be defined as a cell that contains absolutely nothing: no constant, no formula and no prefix character.
    A blank cell can be defined as a cell which may be empty, or may contain a prefix character or a null string (formula result or constant).
    and, from a Worksheet Function perspective, ISBLANK tests the above "Empty" definition whereas COUNTBLANK tests "Blank".

  12. #12
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,942

    Re: Isblank not working when formula is inputted - what instead of?

    o wow thank you,

    great answer!
    Jacek

+ 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. Formula not working =IF(ISBLANK(N4),"",IF(ISBLANK(N4),"",N4-M4))
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2017, 12:26 PM
  2. [SOLVED] ISBLANK Formula Kind of Working
    By jetamala in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-16-2016, 03:41 PM
  3. [SOLVED] ISBLANK not working
    By douglascaixeta in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2014, 10:49 AM
  4. [SOLVED] IF formula not working =IF(NOT(ISBLANK(M3)),"",IF(ISBLANK(L3),"",TODAY()-L3))
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2014, 02:37 PM
  5. [SOLVED] ISBLANK not working
    By gocolonel77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-26-2013, 02:08 PM
  6. [SOLVED] Code not working on a input box if inputted character length is 5
    By jshaw82 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-09-2013, 12:16 PM
  7. Help with ISBLANK function referring to a cell with another ISBLANK formula
    By camdameron in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-23-2011, 12:45 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