+ Reply to Thread
Results 1 to 12 of 12

Working with empty cells in Excel

  1. #1
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Working with empty cells in Excel

    Greetings everyone and compliments of the new season. I am kindly requesting for assistance. I am working with a large dataset in excel and some cells appear empty but when I use the ISBLANK function, it returns FALSE indicating that the cells are not empty. First, how do I see the contents of a seemingly empty cell? Second, I would like to create empty cells and have no idea how this is done. Third, I would like to graph the data so that the chat shows a line with gaps for the empty cells. I populated the seemingly empty cells with #N/A but Excel interpolates over the cells and does not produce gaps as required. What I want works if I manually delete the contents of the seemingly empty cells and graph the data but then deleting all such cells manually is difficult for a very large dataset. I am currently using Excel 2013. See sample data attached, column B contains the seemingly empty cells. Kindly assist. Thank you.
    Attached Files Attached Files
    Last edited by jmasanganise; 02-01-2024 at 07:20 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,648

    Re: Working with empty cells in Excel

    Please downgrade your forum profile to Excel 2013.

    Those cells probably contain non-breaking spaces.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,830

    Re: Working with empty cells in Excel

    you profile says 2016 - but this is for 2013 version

    that should give gaps
    have you tried using
    NA()

    A sample sheet would help here, WITH THE ISSUE INClUDED and possibly will enable a quicker and more accurate solution for you.


    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Working with empty cells in Excel

    A cell set to "" by a formula is not considered ISBLANK by Excel.

    Simplest example: A1 ="" then =ISBLANK(A1) returns FALSE.

  5. #5
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523

    Re: Working with empty cells in Excel

    The following could identify a 'blank looking' cell which isn't treated as blank by Excel (it returns TRUE if it meets the 2 criteria of zero length cell contents and not seen as blank by the ISBLANK function):

    =AND(LEN(A1)=0,NOT(ISBLANK(A1)))
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  6. #6
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Working with empty cells in Excel

    Thanks, I have updated my profile.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,648

    Re: Working with empty cells in Excel

    Any comment on any of the suggestions here?

  8. #8
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Working with empty cells in Excel

    I thought it was good to upload a sample dataset as suggested and I have done so. Thanks.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,648

    Re: Working with empty cells in Excel

    So I see - but that was after I posted!!!

    And no, you should acknowledge all those who have offered insights and give feedback.

  10. #10
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Working with empty cells in Excel

    Thanks etaf. Later versions of Excel do the work. Excel 2019 has an option for using #NA and gaps are created.

  11. #11
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Working with empty cells in Excel

    Thanks HansDouwe. Indeed, "" is not considered blank.

  12. #12
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Working with empty cells in Excel

    Thanks deadlyduck, the =AND(LEN(A1)=0,NOT(ISBLANK(A1))) does identify a seemingly blank cell yes!

+ 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] Working IF and SUMPRODUCT function, but now need to ignore empty cells
    By ollyhughes1982 in forum Excel General
    Replies: 4
    Last Post: 02-13-2022, 03:07 PM
  2. [SOLVED] Show empty cells (with formulas) as gaps not working
    By mioakim in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 08-08-2018, 09:18 AM
  3. Copy only cells with value to next empty cell not working
    By moosmahna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-12-2017, 08:50 AM
  4. Replies: 5
    Last Post: 12-03-2015, 07:36 PM
  5. [SOLVED] excel 2010 empty a cell according to other cells (without Deleting them just show empty)
    By pavlos_x in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2015, 01:46 PM
  6. VBA excel not working after textbox is empty
    By Jovillanueva in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2014, 01:43 AM
  7. Clear empty cells not working since they are not empty
    By Skogsborg in forum Excel General
    Replies: 2
    Last Post: 04-25-2013, 04:25 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