number range returning a text value

J

jason

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
 
C

CLR

Try this.........

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

Vaya con Dios,
Chuck, CABGx3
 
K

kassie

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top