ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   more than, but less than (https://www.excelbanter.com/excel-discussion-misc-queries/220453-more-than-but-less-than.html)

M.A.Tyler

more than, but less than
 
I need a formula that will determine if the number in A1 is between 118 and
121. Preferably an if statement.

Regards,

M.A.Tyler

Rick Rothstein

more than, but less than
 
Well, if all you want is TRUE or FALSE, you can use this...

=AND(A1118,A1<121)

but if you want a different report, then this...

=IF(AND(A1118,A1<121),"Yes","No")

Changing the "Yes" and "No" according to your needs.

--
Rick (MVP - Excel)


"M.A.Tyler" <Great Lakes State wrote in message
...
I need a formula that will determine if the number in A1 is between 118 and
121. Preferably an if statement.

Regards,

M.A.Tyler



M.A.Tyler

more than, but less than
 
Thanks Rick.

"Rick Rothstein" wrote:

Well, if all you want is TRUE or FALSE, you can use this...

=AND(A1118,A1<121)

but if you want a different report, then this...

=IF(AND(A1118,A1<121),"Yes","No")

Changing the "Yes" and "No" according to your needs.

--
Rick (MVP - Excel)


"M.A.Tyler" <Great Lakes State wrote in message
...
I need a formula that will determine if the number in A1 is between 118 and
121. Preferably an if statement.

Regards,

M.A.Tyler





All times are GMT +1. The time now is 02:39 AM.

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