close

I want to use a function probably the if function to check if say from cell
A1 to E1 to see if the value is less than .5 or no data, if true than give
cell F1 a value of 1. How do I write this function?
Hi Richard

Do you want to test if every cell in A1:E1 is less than .5 or not have data

Try this in F1

=IF(MAX(A1:E1)lt;0.5,1,quot;quot;)--
Regards Ron de Bruin
www.rondebruin.nlquot;Richardquot; gt; wrote in message ...
gt;I want to use a function probably the if function to check if say from cell A1 to E1 to see if the value is less than .5 or no
gt;data, if true than give cell F1 a value of 1. How do I write this function?
gt;
=if(A1lt;.5,1,quot;quot;)

if you are looking for all values to be less than .5 or blank

=if(sum(countif(A1:E1,{quot;lt;.5quot;,quot;quot;}))=5,1,quot;quot;)--
Regards,
Tom Ogilvy
quot;Richardquot; gt; wrote in message
...
gt; I want to use a function probably the if function to check if say from
cell
gt; A1 to E1 to see if the value is less than .5 or no data, if true than give
gt; cell F1 a value of 1. How do I write this function?
gt;
gt;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()