LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Blank Cell Oddity

Hi,

You get different results depending on how you test, for example:
=ISBLANK(E12)
=COUNTBLANK(E12)
=IF(E12="","yes","no")

A cell with a formula that evaluates to "" is not considered blank by the
ISBLANK function, but is by the other two. A formula containing a spacebar
looks blank but none of these formulas will see it as blank. Then there is
the issue of hidden characters which may get into your spreadsheet when you
import data from an external source (or copy it).

Find and Replace can be used in many but not all cases to take care of the
problem. If the problem is spacebars then you can type a spacebar in the
Find what box of the Find & Replace dialog box and leave the Replace with box
empty, check Match entire cell contents under Options and Replace All.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Zeke" wrote:

I have a spreadsheet that shows either a price or a discount (never has both)
based on given quantities. I have a formula that goes and looks at each cell
to determine which to use. I am using the IFBLANK function. If the price
cell is blank, it applies a discount to another number in the sheet. If the
price cell is not blank, it uses that price. The problem I have is that some
cells it considers to not be blank are blank. I can copy and paste a "blank"
cell to another cell and there is nothing in there. If I click a random cell
and type ="blank cell #", it is blank. Now, if I double click that cell and
hit enter (without entering anything), it then treats the cell as blank. I
have over 14,000 lines and about 8 rows of this data that I would like to
avoid having to double click each blank row to get this to work. Any
suggestions?

 
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
A rounding oddity Bernard Liengme Excel Worksheet Functions 8 December 28th 06 07:07 AM
OFFSET oddity Stuart MacDonald Excel Worksheet Functions 7 October 6th 06 06:55 AM
An oddity if not a bug Harlan Grove Excel Worksheet Functions 21 July 17th 06 05:36 PM
Chart oddity Ron P Charts and Charting in Excel 2 February 16th 06 03:05 PM
Another Excel oddity Steve Excel Discussion (Misc queries) 5 January 5th 05 08:50 PM


All times are GMT +1. The time now is 01:48 PM.

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"