+ Reply to Thread
Results 1 to 2 of 2

Blank cell not recognised as blank

  1. #1
    Forum Contributor
    Join Date
    03-04-2014
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2019
    Posts
    758

    Blank cell not recognised as blank

    Hi all,

    So I have a table in Cells BA25:BD33.


    The top row is the headers, with data being copied into BA26:BB33 - the others columns are generated with match formulas based on what is copied into BA and BB.


    The data copied into BB is from a PIVOT table, so there could be 1 number copied into BB or 8 numbers.

    However, the issue i have is when running this code:


    Please Login or Register  to view this content.
    If there is only one number copied into BB, not all of the rows are deleted from the table as there is always one value in BB that is not recognised as blank, because a blank cell from the pivot table is copied into the table.

    Is there a way to amend my code so that Excel recognises the "empty" cell as blank?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,978

    Re: Blank cell not recognised as blank

    Just loop through the cells:

    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

+ 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] IF Cell is blank, calculate, if cell isn't blank, leave blank
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2015, 03:54 PM
  2. Calculate differnce between 2 dates, but if 1 date cell is blank leave cell blank
    By Vicious00013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 11:31 PM
  3. [SOLVED] Concatenate If Blank - remove blank line if first cell is blank
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 02:14 PM
  4. [SOLVED] UDF If Then Statement but blank and 0 are recognised as one and the same??
    By forrestgump1980 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2014, 06:29 AM
  5. Replies: 3
    Last Post: 01-23-2014, 12:19 PM
  6. [SOLVED] Cell referenced in formula has no information displayed (shows blank), return blank cell
    By nunayobinezz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2013, 04:51 PM
  7. If cell blank OR another cell blank then show blank, if not display value
    By stevop622 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-09-2013, 04:07 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