+ Reply to Thread
Results 1 to 9 of 9

How to use ISBLANK Function?

  1. #1
    Registered User
    Join Date
    04-05-2015
    Location
    Saihat, Saudi Arabia
    MS-Off Ver
    2013
    Posts
    46

    How to use ISBLANK Function?

    Hi,
    You can use ISBLANK Function in filling blank cells with data in the above cell as in the following formula:

    =IF(ISBLANK(A2);B1;A2)

    Name:  ISBLANK.jpg
Views: 476
Size:  58.0 KB

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to use ISBLANK Function?

    OK, is there a question here?

    Personally, I prefer doing it this way...
    =IF(A2="";B1;A2)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to use ISBLANK Function?

    I actually go back and forth on this subject....

    Ford's technique is quicker for me to type...

    IMA's technique has a readable factor that I like...

    I have used both techniques...I would be curious if there is a resource factor....does one run faster that the other over a large dataset....

    I might test that....
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to use ISBLANK Function?

    There doesn't "seem" to be any decernable time difference between the 2....I tested on a file that had about 290K rows...both took less than 3 seconds to run....interesting....

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to use ISBLANK Function?

    Thanks for the input, judge

    I try and use a few functions as practical, but another thing to consider here, is that if A2 contains a formula that returns "", then it is not blank, and the suggested formula will not return the expected results

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to use ISBLANK Function?

    exactly....you do have to know your data set.....

    thanks Ford

  7. #7
    Registered User
    Join Date
    05-04-2015
    Location
    Lao
    MS-Off Ver
    2013
    Posts
    42

    Re: How to use ISBLANK Function?

    Thanks all ya guys, i always copy one by one >_<, now no more copy.

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

    Re: How to use ISBLANK Function?

    Based on its characteristics the ISBLANK function should have been named ISEMPTY.

    That's how you should interpret it.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  9. #9
    Registered User
    Join Date
    09-16-2013
    Location
    Austin, Texas, USA
    MS-Off Ver
    Excel 2007 Home
    Posts
    17

    Re: How to use ISBLANK Function?

    I had tried something similar to that in the original post of this thread on some cells that had been emptied using the ClearContents VBA Method, and for some reason it didn't recognize the cells as blank. Then on a hunch I tried...

    Please Login or Register  to view this content.
    ... and it worked.

+ 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. Help with IF and Isblank function
    By bigmac1012345 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2011, 12:37 PM
  2. 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
  3. Function like ISBLANK, but not exactly
    By dongna in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-26-2008, 04:57 AM
  4. [SOLVED] ISBLANK() function
    By George in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-14-2006, 03:45 AM
  5. ISBLANK Function
    By anar_baku in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-21-2005, 09:11 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