LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LawrenceHG
 
Posts: n/a
Default How do I generate a "blank" value?

I have a formula that I want to use to generate (depending on the situation)
a blank value. I thought a null string ("") was equivalent to a blank but
that doesn't seem to be the case.

Here's my example:

Contents of cell A2: =IF(A1=0,"",A1)

I want to be able to do a a Copy...Paste Special...Values with cell A2 and
have it copy a blank to the destination cell if cell A1 contains a zero.

In the above example, if I copy the value of cell A2 into cell A3, the
ISBLANK function tells me that cell A3 is not blank (i.e., it returns FALSE).
If I use the LEN string function, it returns a zero (i.e., a string of no
length).

Can someone explain to me the logic behind this? Does someone know what I
can enter into the IF function above so that it return a blank value (at
least it's blank when the value is copied to another cell)?

Thanks for any and all help.
 
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
Generate random numberes using reference to the other cell. ramana Excel Worksheet Functions 7 October 31st 05 07:09 AM
Generate a graphical formula from a column of data rmellison Excel Discussion (Misc queries) 2 October 17th 05 03:58 PM
How to generate a random list of weekDAYS between two dates? Yanzel Muniz Excel Worksheet Functions 1 September 22nd 05 12:45 AM
can i use excel to generate web links simonrowland Excel Discussion (Misc queries) 1 August 10th 05 11:51 PM
generate report thru pracle to excell Amit Kotian Excel Discussion (Misc queries) 0 June 30th 05 07:13 PM


All times are GMT +1. The time now is 11:06 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"