ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   A text to appear on a mandatory cell (https://www.excelbanter.com/excel-discussion-misc-queries/188731-text-appear-mandatory-cell.html)

lawre

A text to appear on a mandatory cell
 
would appreciate if the forum could enlighten me as to how to formulate a cell.

If Cell A1 is zero then an error text will appear on it

thank you



Mike H

A text to appear on a mandatory cell
 
Hi,

You can't have a formula in A1 that says if
=if(a1=0,"eror",a1)
so it would have to be done by referencing another cells.
How does A1 become zero?

Mike

"lawre" wrote:

would appreciate if the forum could enlighten me as to how to formulate a cell.

If Cell A1 is zero then an error text will appear on it

thank you



Gord Dibben

A text to appear on a mandatory cell
 
=IF(OR(A1=""),"blank",IF(A1=0,"error",A1))


Gord Dibben MS Excel MVP

On Fri, 23 May 2008 23:53:00 -0700, lawre
wrote:

would appreciate if the forum could enlighten me as to how to formulate a cell.

If Cell A1 is zero then an error text will appear on it

thank you



Gord Dibben

A text to appear on a mandatory cell
 
Actually, you don't need the OR

=IF(A1="","blank",IF(A1=0,"error",A1))


Gord

On Sat, 24 May 2008 07:38:37 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

=IF(OR(A1=""),"blank",IF(A1=0,"error",A1))


Gord Dibben MS Excel MVP

On Fri, 23 May 2008 23:53:00 -0700, lawre
wrote:

would appreciate if the forum could enlighten me as to how to formulate a cell.

If Cell A1 is zero then an error text will appear on it

thank you




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

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