ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF, THEN formulas (https://www.excelbanter.com/excel-worksheet-functions/33487-if-then-formulas.html)

KHart

IF, THEN formulas
 
I need a formula that will give me an IF, THEN answer. This is what I need:
If the value in A1 is less than 1.99, then the number 0 would be in A2, If
the value in A1 is between 2 and 4.99, then .5 would be in A2, If the value
in A1 is greater than 5 then the number 1 would be in A2.

Anne Troy

Hi, KHart. Try this: =IF(A1<=1.99,0,IF(A1<=4.99,.5,1))
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"KHart" wrote in message
...
I need a formula that will give me an IF, THEN answer. This is what I

need:
If the value in A1 is less than 1.99, then the number 0 would be in A2, If
the value in A1 is between 2 and 4.99, then .5 would be in A2, If the

value
in A1 is greater than 5 then the number 1 would be in A2.




KHart

Thanks Anne, that was exactly what I needed. I appreciate your prompt reply.
Kathy

"Anne Troy" wrote:

Hi, KHart. Try this: =IF(A1<=1.99,0,IF(A1<=4.99,.5,1))
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"KHart" wrote in message
...
I need a formula that will give me an IF, THEN answer. This is what I

need:
If the value in A1 is less than 1.99, then the number 0 would be in A2, If
the value in A1 is between 2 and 4.99, then .5 would be in A2, If the

value
in A1 is greater than 5 then the number 1 would be in A2.






All times are GMT +1. The time now is 04:55 PM.

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