ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   NumberFormat instead of an IF (https://www.excelbanter.com/excel-worksheet-functions/447728-numberformat-instead-if.html)

[email protected]

NumberFormat instead of an IF
 
I have a column with a number that is either zero, or some other number 5

In the case where it's zero, I'd like it to say "None".

Can I do this with a NumberFormat?

I tried setting the zero formatter to various "None" with and without quotes, but it always displays a blank or gives me an error.

Claus Busch

NumberFormat instead of an IF
 
Hi,

Am Mon, 26 Nov 2012 09:26:38 -0800 (PST) schrieb
:

I have a column with a number that is either zero, or some other number 5

In the case where it's zero, I'd like it to say "None".


try custom number format:
0;-0;"None"


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

[email protected]

NumberFormat instead of an IF
 
Perfect, thanks!

Odd format, that.


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

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