ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Blank cells , & cells with 0 in them (https://www.excelbanter.com/excel-discussion-misc-queries/212794-blank-cells-cells-0-them.html)

DDD

Blank cells , & cells with 0 in them
 
Formula in cell J10-

=IF(G10=0,"There are no more copies, please ask students to return their
books or buy more stock","")

I have entered this to J10 & used the fill column, so that the cells under
this have a similar formula (Not fixed). Everything works

But I just want that message to appear when there is a 0 in the cell (G10 or
any other cell underneath it)

Is there a way to not allow the message to appear, when the cell e.g. G10 is
BLANK , Not 0.

Gary''s Student

Blank cells , & cells with 0 in them
 
How about:

=IF((G10=0)*(G10<""),"got a real zero","might have a blank")
--
Gary''s Student - gsnu200818


All times are GMT +1. The time now is 03:08 PM.

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