View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default greater than larger than

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

On Sep 21, 11:07 pm, excel wrote:
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?