Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Help with creating a formula using greater than and less than

=IF(T2<0,1,IF(T2<100,2,IF(T2<200,3,IF(T2<250,4,5)) ))

or something along those lines

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"urrbie" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"