Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How can I test if a cell is empty?

I have a web programme (over which I have no control) which outputs data to
an excel spreadsheet.

Some cells appear empty and I want to highlight them using conditional
formatting. However, when I use the ISBLANK function, it transpires that the
apparently empty cells do have something in them, even though I cannot
identify what it is. The cells appear blank when you select each cell -
however, when I press delete and enter, something is clearly being removed
as the conditional formatting then shows the cells as empty. I hope this
makes sense.

Has anyone else every encountered this situation please?

Is there a way of getting round this either by using a function which will
clear the apparently empty cells, or another function I can use with
conditional formatting to identify the so called empty cells.

Thanks,

V

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default How can I test if a cell is empty?

Check out this nefty add-in from Chip Pearson........it clearly identifies
the invisible control characters.

http://www.cpearson.com/excel/CellView.htm

Vaya con Dios,
Chuck, CABGx3




"Victor Delta" wrote:

I have a web programme (over which I have no control) which outputs data to
an excel spreadsheet.

Some cells appear empty and I want to highlight them using conditional
formatting. However, when I use the ISBLANK function, it transpires that the
apparently empty cells do have something in them, even though I cannot
identify what it is. The cells appear blank when you select each cell -
however, when I press delete and enter, something is clearly being removed
as the conditional formatting then shows the cells as empty. I hope this
makes sense.

Has anyone else every encountered this situation please?

Is there a way of getting round this either by using a function which will
clear the apparently empty cells, or another function I can use with
conditional formatting to identify the so called empty cells.

Thanks,

V


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How can I test if a cell is empty?

"CLR" wrote in message
...
Check out this nefty add-in from Chip Pearson........it clearly identifies
the invisible control characters.

http://www.cpearson.com/excel/CellView.htm

Thanks, I'll give it a try.

Once I know what's in the cells presumably I can then use that with the
conditional formatting?

V

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default How can I test if a cell is empty?

I think I would prefer to just delete them as part of the import
macro......or, ASAP Utilities, a free add-in available at
www.asap-utilities.com has a feature that will delete them.

Vaya con Dios,
Chuck, CABGx3




"Victor Delta" wrote:

"CLR" wrote in message
...
Check out this nefty add-in from Chip Pearson........it clearly identifies
the invisible control characters.

http://www.cpearson.com/excel/CellView.htm

Thanks, I'll give it a try.

Once I know what's in the cells presumably I can then use that with the
conditional formatting?

V


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How can I test if a cell is empty?

"CLR" wrote in message
...
I think I would prefer to just delete them as part of the import
macro......or, ASAP Utilities, a free add-in available at
www.asap-utilities.com has a feature that will delete them.


Many thanks. Have installed ASAP - looks very useful indeed - but cannot
find the particular facility you are referring to. Can you point me in the
right direction please.

Thanks

V



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How can I test if a cell is empty?

"Victor Delta" wrote in message
...
"CLR" wrote in message
...
Check out this nefty add-in from Chip Pearson........it clearly
identifies
the invisible control characters.
http://www.cpearson.com/excel/CellView.htm

Thanks, I'll give it a try.
Once I know what's in the cells presumably I can then use that with the
conditional formatting?


This is very odd! I installed Cell View only to discover that the cells in
question are indeed completely empty!

However, in this condition, they do not allow ISBLANK to be true. This only
happens when you select the cell and press backspace followed by enter.

This doesn't seem to make sense. Can anyone understand the logic (or
illogic?) of this - and how I can overcome the problem please?

V

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How can I test if a cell is empty?

Did the cells used to contain formulas that evaluated to ""?

Like
=if(a17,"ok","")

And did you convert those formulas to values?

If yes...

Saved from a previous post:

If you want to see what's left in that cell after you convert ="" to values,
try:
Tools|Options|Transition Tab|Toggle Transition Navigation keys on.

Then select one of those cells and look at the formula bar. You'll see an
apostrophe. (Don't forget to toggle the setting to off.)

When I want to clean up this detritus, I do this:

Select the range (ctrl-a a few times to select all the cells)
Edit|Replace
what: (leave blank)
with: $$$$$
replace all

Immediately followed by:
Edit|Replace
what: $$$$$
with: (leave blank)
replace all

Victor Delta wrote:

"Victor Delta" wrote in message
...
"CLR" wrote in message
...
Check out this nefty add-in from Chip Pearson........it clearly
identifies
the invisible control characters.
http://www.cpearson.com/excel/CellView.htm

Thanks, I'll give it a try.
Once I know what's in the cells presumably I can then use that with the
conditional formatting?


This is very odd! I installed Cell View only to discover that the cells in
question are indeed completely empty!

However, in this condition, they do not allow ISBLANK to be true. This only
happens when you select the cell and press backspace followed by enter.

This doesn't seem to make sense. Can anyone understand the logic (or
illogic?) of this - and how I can overcome the problem please?

V


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How can I test if a cell is empty?

"Dave Peterson" wrote in message
...
Did the cells used to contain formulas that evaluated to ""?

Like
=if(a17,"ok","")

And did you convert those formulas to values?

If yes...

Saved from a previous post:

If you want to see what's left in that cell after you convert ="" to
values,
try:
Tools|Options|Transition Tab|Toggle Transition Navigation keys on.

Then select one of those cells and look at the formula bar. You'll see an
apostrophe. (Don't forget to toggle the setting to off.)

When I want to clean up this detritus, I do this:

Select the range (ctrl-a a few times to select all the cells)
Edit|Replace
what: (leave blank)
with: $$$$$
replace all

Immediately followed by:
Edit|Replace
what: $$$$$
with: (leave blank)
replace all


Dave

Many thanks and full marks. Yes, the apostrophe was there and after I did
the two Find/Replace runs, the conditional formatting immediately indicated
the empty cells as I had originally intended.

Despite years of using Excel, I don't think I've ever used the Transition
tab before. What are Transition Navigation keys etc used for?

Thanks again

V

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
test expression for empty cell in =SUMIF() fgrose Excel Worksheet Functions 12 July 16th 07 04:52 PM
Test if the range is empty dan Excel Discussion (Misc queries) 6 December 21st 06 03:59 PM
Calculate mean of test scores from rows of test answers RiotLoadTime Excel Discussion (Misc queries) 1 July 26th 06 05:14 PM
Leaving an empty cell empty GRL Excel Discussion (Misc queries) 4 April 22nd 06 05:47 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM


All times are GMT +1. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"