ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hide zeros (https://www.excelbanter.com/excel-discussion-misc-queries/255968-hide-zeros.html)

ralpha

hide zeros
 
how do I hide zero results when I'm using this formula: =LEFT(AL8,1)

I have tried conditional formatting and custom numbering but ca't get it to
work.

dlw

hide zeros
 
=if(left(al8,1)="0","",left(al8,1))

"ralpha" wrote:

how do I hide zero results when I'm using this formula: =LEFT(AL8,1)

I have tried conditional formatting and custom numbering but ca't get it to
work.


Gary''s Student

hide zeros
 
A tiny trick! if the formula is in cell B9, then use conditional formatting:

FormulaIs =B9="0" and make the font color match the background color.

We need the double-quotes because LEFT() returns Text rather than a number.
--
Gary''s Student - gsnu201001


"ralpha" wrote:

how do I hide zero results when I'm using this formula: =LEFT(AL8,1)

I have tried conditional formatting and custom numbering but ca't get it to
work.



All times are GMT +1. The time now is 04:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com