View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
urrbie urrbie is offline
external usenet poster
 
Posts: 2
Default Help with creating a formula using greater than and less than

Could someone help me create a formula to solve the following

I have a range of numbers between 300 and 0 in one column and I would like
the next column to give a certain value based on the number. However I would
like to do it in the following manner.

IF T:T is greater than 250 but less than 275 then result is 5 and IF T:T is
greater than 200 but less than 250 then the result is 4 etc...

I can do the following
IF(T:T=275,5)+IF(T:T=274,5).....+IF(T:T=250,5).... +IF(T:T=249,4)+IF(T:T=248,4)etc.....

I would would rather find a way to do it for the range of numbers instead of
one at a time