Thread: =IF(OR question
View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default =IF(OR question

=IF(COUNTIF(B6:B18,0)0,"", and so on

depending on what you want, the above test if any of those cells are zero


--
Regards,

Peo Sjoblom



"Jock" wrote in message
...
Thanks to all. To take it one more step; if there was a range of cells (ie
B6:B18), rather than the two (B6 & B7) that need to be any value other
than
0, how would the formula be modified?
--
Traa Dy Liooar

Jock


"Jock" wrote:

Hi,
Having a problem here. Essentially: In cell B9
=IF(either B6 OR B7=0,"",If(B6<B7,"",B6-B7)
Can someone sort this one out for me?

Thanks

--
Traa Dy Liooar

Jock