Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
jason
 
Posts: n/a
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.newusers
George Gee
 
Posts: n/a
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
CLR
 
Posts: n/a
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.newusers
kassie
 
Posts: n/a
Default 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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Change number in Text Box in Excel Jerry Dyben Excel Discussion (Misc queries) 2 September 23rd 05 02:40 AM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
Returning a value for a number in a range Derek Excel Discussion (Misc queries) 1 July 26th 05 04:47 PM
What defines number or text Danny J New Users to Excel 3 December 7th 04 07:27 AM


All times are GMT +1. The time now is 01:56 PM.

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"