ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   number range returning a text value (https://www.excelbanter.com/new-users-excel/94290-number-range-returning-text-value.html)

jason

number range returning a text value
 
Hi,

I would like to be able to return a specific text when a number is added to
a column. For example, if a number is inputted and it falls within the range
"1-5", then the text field "low" is returned. If however "6" is inputted, the
result would give the text "Medium", and if "10" is inputted, the returning
text field is "High"

Thanks for any help

George Gee

number range returning a text value
 
Jason

Try: =IF(A1<6,"Low",IF(A19,"High","Medium"))

George Gee



"jason" wrote in message
...
Hi,

I would like to be able to return a specific text when a number is added
to
a column. For example, if a number is inputted and it falls within the
range
"1-5", then the text field "low" is returned. If however "6" is inputted,
the
result would give the text "Medium", and if "10" is inputted, the
returning
text field is "High"

Thanks for any help




CLR

number range returning a text value
 
Try this.........

=LOOKUP(A1,{1,6,10},{"low","medium","high"})

Vaya con Dios,
Chuck, CABGx3


"jason" wrote:

Hi,

I would like to be able to return a specific text when a number is added to
a column. For example, if a number is inputted and it falls within the range
"1-5", then the text field "low" is returned. If however "6" is inputted, the
result would give the text "Medium", and if "10" is inputted, the returning
text field is "High"

Thanks for any help


kassie

number range returning a text value
 
Create a lookup table, containing the possible values and there respective
responses, say 1 - 10, and in an adjacent cell whether it should return Low,
Medium or High or whatever else., Name this range something like Criterion.
Where you want the result to display, enter the following formula:
=VLOOKUP(<cell ref of the cell containing the value, eg
A3,Criterion,2,FALSE). That will give you the correct result every time.

"jason" wrote:

Hi,

I would like to be able to return a specific text when a number is added to
a column. For example, if a number is inputted and it falls within the range
"1-5", then the text field "low" is returned. If however "6" is inputted, the
result would give the text "Medium", and if "10" is inputted, the returning
text field is "High"

Thanks for any help



All times are GMT +1. The time now is 05:58 PM.

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