ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Not (https://www.excelbanter.com/excel-worksheet-functions/6493-not.html)

Howard

Not
 
If cell a1 is not blank, then I want 998 in cell c1, else 999. How do I write
this?
I tried =IF(NOT(ISBLANK(A1,998,999).

Thanks,
--
Howard

Steve

=if(ISBLANK(A1),999,998)

Should work


"Howard" wrote:

If cell a1 is not blank, then I want 998 in cell c1, else 999. How do I write
this?
I tried =IF(NOT(ISBLANK(A1,998,999).

Thanks,
--
Howard


Howard

Thanks! Of course, I don't need "NOT."
HF

"Steve" wrote:

=if(ISBLANK(A1),999,998)

Should work


"Howard" wrote:

If cell a1 is not blank, then I want 998 in cell c1, else 999. How do I write
this?
I tried =IF(NOT(ISBLANK(A1,998,999).

Thanks,
--
Howard


Sandy Mann

Its true that you don't need the NOT but your formula would have worked if
you had closed the brackets.


=IF(NOT(ISBLANK(A1)),998,999)

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Howard" wrote in message
...
Thanks! Of course, I don't need "NOT."
HF

"Steve" wrote:

=if(ISBLANK(A1),999,998)

Should work


"Howard" wrote:

If cell a1 is not blank, then I want 998 in cell c1, else 999. How do

I write
this?
I tried =IF(NOT(ISBLANK(A1,998,999).

Thanks,
--
Howard




Howard

Thanks very much. Those pesky little brackets!

HF

"Sandy Mann" wrote:

Its true that you don't need the NOT but your formula would have worked if
you had closed the brackets.


=IF(NOT(ISBLANK(A1)),998,999)

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"Howard" wrote in message
...
Thanks! Of course, I don't need "NOT."
HF

"Steve" wrote:

=if(ISBLANK(A1),999,998)

Should work


"Howard" wrote:

If cell a1 is not blank, then I want 998 in cell c1, else 999. How do

I write
this?
I tried =IF(NOT(ISBLANK(A1,998,999).

Thanks,
--
Howard






All times are GMT +1. The time now is 09:35 PM.

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