Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default I need a "0" when cell is empty

The following formula works good except for when there is no value in the
cell. What can I do to the formula to be "0" when the C22 has no value in the
cell?

=MIN(10,C22)

C22 Formula Result
10 (It should be zero)
1 1
5 5
10 10
15 10
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default I need a "0" when cell is empty

Try this...

=IF(C22="",0,MIN(10,C22))

Rick


"Don Lowe" wrote in message
...
The following formula works good except for when there is no value in the
cell. What can I do to the formula to be "0" when the C22 has no value in
the
cell?

=MIN(10,C22)

C22 Formula Result
10 (It should be zero)
1 1
5 5
10 10
15 10


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default I need a "0" when cell is empty

=IF(C22="",0,MIN(10,C22))

Hth,
Merjet
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Empty a cell if the values equal to "IN" , "MC" or "PP" YHT Excel Programming 1 December 28th 07 06:59 AM
delete rows if cell in row contains "a" or "o" or empty bartman1980 Excel Programming 2 November 4th 07 08:20 PM
STOP MACRO IF CELL "A1" IS EMPTY OR SHEET DOESN´T EXIST cbm Excel Programming 2 January 8th 07 10:00 AM
Excel: can "go to adjacent empty cell" double-click be disabled? dgg2006 Excel Discussion (Misc queries) 1 April 8th 06 04:51 AM


All times are GMT +1. The time now is 02:28 AM.

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"