#1   Report Post  
Howard
 
Posts: n/a
Default 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
  #2   Report Post  
Steve
 
Posts: n/a
Default

=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

  #3   Report Post  
Howard
 
Posts: n/a
Default

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

  #4   Report Post  
Sandy Mann
 
Posts: n/a
Default

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



  #5   Report Post  
Howard
 
Posts: n/a
Default

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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"