Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 0 entry vs blank cell

Is there a way to have Excel know the differance between a 0 entry and a
blank cell?
I am trying to mask a blank cell (input data cell) that is referenced in a
formula (output cell) so that it returns a blank, but if a 0 is entered into
the input cell I want the 0 to be shown in output cell.


  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default 0 entry vs blank cell

Something like

IF(ISBLANK(A1),"",A1)

"Motion" wrote:

Is there a way to have Excel know the differance between a 0 entry and a
blank cell?
I am trying to mask a blank cell (input data cell) that is referenced in a
formula (output cell) so that it returns a blank, but if a 0 is entered into
the input cell I want the 0 to be shown in output cell.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default 0 entry vs blank cell

Hi Motion,

IsBlank(yourcell) will produce True if the cell is blank, and will
produce False if the cell is 0 ...

HTH
Cheers
Carim

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default 0 entry vs blank cell

=if(a1="","",a1)

Motion wrote:

Is there a way to have Excel know the differance between a 0 entry and a
blank cell?
I am trying to mask a blank cell (input data cell) that is referenced in a
formula (output cell) so that it returns a blank, but if a 0 is entered into
the input cell I want the 0 to be shown in output cell.


--

Dave Peterson
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
Blank cell return after each data entry Sudipta Sen[_2_] Excel Discussion (Misc queries) 1 December 14th 09 01:54 PM
Data Entry - Write to next cell & next blank line Tony Excel Worksheet Functions 0 January 19th 09 03:22 PM
restricting entry into a cell based on entry to a previous cell newbie57 New Users to Excel 1 June 9th 08 05:43 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM
Replace (blank) entry in a pivot report with clear cell PeterGilbert Excel Discussion (Misc queries) 1 November 6th 06 12:13 AM


All times are GMT +1. The time now is 07:12 PM.

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

About Us

"It's about Microsoft Excel"