greater than larger than

  • Thread starter Thread starter excel
  • Start date Start date
E

excel

say cell a1 has a figure, say 10, and i want that figure to put into
cell b1, a 1, if the figure in a1 is less that 8 but greater than 0,
how would i express that in a formula?
 
I think you mean this in B1:

=IF(AND(A1<0,A1<8),1,0)

will put 1 into B1 if A1 is between 0 and 8, otherwise B1 will be set
to zero.

Hope this helps.

Pete
 
Back
Top