Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Zdenek Moravec
 
Posts: n/a
Default Custom format that shows blank cell if another cell is empty

I have a formula in A1, just referrencing to B1 (=B1)
I need to setup following custom format to A1:
If B1 is blank, show blank in A1
If B1 is is 0, show 0 in A1.
If B1 is positive, show the positive in A1.
I have a problem, that blank and zero behave same, so when B1 is
blank, I get always 0 instead of blank.
Is it possible using customer format, not formula (if-then)?
Thank you
Zdenek Moravec
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Formula will do it

=IF(B1="","",IF(B1=0,0,IF(B10,"+ve","")))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Zdenek Moravec" wrote in message
om...
I have a formula in A1, just referrencing to B1 (=B1)
I need to setup following custom format to A1:
If B1 is blank, show blank in A1
If B1 is is 0, show 0 in A1.
If B1 is positive, show the positive in A1.
I have a problem, that blank and zero behave same, so when B1 is
blank, I get always 0 instead of blank.
Is it possible using customer format, not formula (if-then)?
Thank you
Zdenek Moravec



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
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Worksheet Functions 1 January 4th 05 08:01 PM
make cell contents equal to null value - not blank, but empty mpierre Excel Worksheet Functions 1 December 29th 04 06:57 AM
Date on two lines using a custom cell format possible? .:mmac:. Excel Discussion (Misc queries) 5 December 4th 04 09:41 PM
Make a cell blank? Matthew Leingang Excel Worksheet Functions 1 November 23rd 04 04:54 PM
SUM until blank cell JasonUT Excel Worksheet Functions 1 November 9th 04 08:14 PM


All times are GMT +1. The time now is 04:42 AM.

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"