ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   greater than larger than (https://www.excelbanter.com/excel-worksheet-functions/159283-greater-than-larger-than.html)

excel

greater than larger than
 
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?


Pete_UK

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?




Fred Smith

greater than larger than
 
I'm sure Pete means:

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


--
Regards,
Fred


"Pete_UK" wrote in message
ups.com...
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?






Pete_UK

greater than larger than
 
Yes, I did Fred - thanks (bit late here in the UK !!)

Pete

On Sep 21, 11:58 pm, "Fred Smith" wrote:
I'm sure Pete means:

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

--
Regards,
Fred

"Pete_UK" wrote in message

ups.com...



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?- Hide quoted text -


- Show quoted text -




excel

greater than larger than
 
On Sep 22, 11:13 am, Pete_UK wrote:
Yes, I did Fred - thanks (bit late here in the UK !!)

Pete

On Sep 21, 11:58 pm, "Fred Smith" wrote:



I'm sure Pete means:


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


--
Regards,
Fred


"Pete_UK" wrote in message


oups.com...


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?- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Thank you both, worked a treat.

Esra


Teethless mama

greater than larger than
 
=(A10)*(A1<8)


"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?




All times are GMT +1. The time now is 02:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com