Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
even better (not an array formula):
=MAX(A1:D1)+IF(COUNT(A1:D1)<2,0,LARGE(A1:D1,2)) Gord Dibben wrote: Dave I tried this but if three of the cells are blank I get the #NUM! error. I don't believe Excel is treating the blanks as 0 in this case. Gord On Wed, 13 Dec 2006 11:28:18 -0600, Dave Peterson wrote: Excel treats empty cells as 0. So maybe you could use: =SUM(LARGE(A1:D1,{1,2})) Jagneel wrote: I would like empty cell to automatically set value 0. For example. sum of largest two values in a row with 2, empty, empty, empty I want the answer to be just 2 as it would if the data was 2,0,0,0 -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count Only Empty Cells AFTER Cells with Data | Excel Worksheet Functions | |||
why a reference to an empty cell is not considered empty | Excel Discussion (Misc queries) | |||
Blank (empty) cell always equal to 0?? | Excel Discussion (Misc queries) | |||
How do I leave formula cell blank if 2nd reference cell is empty? | Excel Discussion (Misc queries) | |||
Custom format that shows blank cell if another cell is empty | Excel Discussion (Misc queries) |