ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   B1 is blank if A1 is zero (https://www.excelbanter.com/excel-worksheet-functions/133213-b1-blank-if-a1-zero.html)

woitena1

B1 is blank if A1 is zero
 
I am trying to format B1 as blank if A1 equals 0. I have tried conditional
formatting and "IF" function and I can not get this to work. Can someone
please tell me how to do this?

Max

B1 is blank if A1 is zero
 
One way ..
In B1: =IF(OR(A1={"",0}),"",A1)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"woitena1" wrote:
I am trying to format B1 as blank if A1 equals 0. I have tried conditional
formatting and "IF" function and I can not get this to work. Can someone
please tell me how to do this?



All times are GMT +1. The time now is 12:08 AM.

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