Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ian Elliott
 
Posts: n/a
Default how set cell to blank?

I have a cell formula:
=IF(OR(ISBLANK(K10),ISBLANK(L10)),,L10-K10)
Which makes the cell zero if either of k10 or l10 is blank, (and subtracts
the two if not), but I want to make the cell blank rather than zero.
Thanks again.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=IF(OR(ISBLANK(K10),ISBLANK(L10)),"",L10-K10)

alternatively:

=IF(COUNT(K10:L10)<2,"",L10-K10)




In article ,
"Ian Elliott" wrote:

I have a cell formula:
=IF(OR(ISBLANK(K10),ISBLANK(L10)),,L10-K10)
Which makes the cell zero if either of k10 or l10 is blank, (and subtracts
the two if not), but I want to make the cell blank rather than zero.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I blank a cell until a ref cell has the correct data? force530 Excel Discussion (Misc queries) 1 May 19th 05 09:06 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Empty Cell ( blank Cell ) rocky Excel Worksheet Functions 2 April 28th 05 11:17 PM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
Go to first blank cell Curt D. Excel Worksheet Functions 4 February 28th 05 10:27 AM


All times are GMT +1. The time now is 04:39 AM.

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

About Us

"It's about Microsoft Excel"