Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Display text based on a numeric range

I need to display text based on the number that is displayed in a cell. for
instance, if the number is between 1-3, I need to display "Low"; between 4-6,
I need to display "Medium"; and between 7-9 I need to display "high". How
can I set this up to work? thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Display text based on a numeric range

Hi

you can use an IF function
=IF(A1<=3,"Low",IF(A1<=6,"Medium",IF(A1<=9,"High", "")))
or
=LOOKUP(A1,{-1E+300;0.00000000000001;4;7;10},{"";"Low";"Medium" ;"High";""})

where the number you are testing for is in cell A1
--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"swheeler" wrote in message
...
I need to display text based on the number that is displayed in a cell.
for
instance, if the number is between 1-3, I need to display "Low"; between
4-6,
I need to display "Medium"; and between 7-9 I need to display "high". How
can I set this up to work? thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Display text based on a numeric range

=if(A1<1,"Too Low",if(A1<4,"Low",if(A1<7,"Medium",if(A1<10,"High ","Too
High"))))

--
Regards,
Tom Ogilvy


"swheeler" wrote in message
...
I need to display text based on the number that is displayed in a cell.

for
instance, if the number is between 1-3, I need to display "Low"; between

4-6,
I need to display "Medium"; and between 7-9 I need to display "high". How
can I set this up to work? thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Display text based on a numeric range

One Mo

=IF(OR(A1="",A1<1,A19),"",CHOOSE(TRUNC((A1-1)/3)+1,"Low","Medium","High"))

--
Regards,
Tom Ogilvy


"Tom Ogilvy" wrote in message
...
=if(A1<1,"Too Low",if(A1<4,"Low",if(A1<7,"Medium",if(A1<10,"High ","Too
High"))))

--
Regards,
Tom Ogilvy


"swheeler" wrote in message
...
I need to display text based on the number that is displayed in a cell.

for
instance, if the number is between 1-3, I need to display "Low"; between

4-6,
I need to display "Medium"; and between 7-9 I need to display "high".

How
can I set this up to work? thanks





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
display a range of editible cells based on specific in another cel Miki Excel Discussion (Misc queries) 0 October 10th 07 04:17 PM
WEEKDAY() function: display TEXT not numeric weekday tom Excel Discussion (Misc queries) 3 November 21st 06 04:32 PM
Display leading zeros in numeric value without converting to text Gmonny Excel Discussion (Misc queries) 4 October 5th 06 09:05 PM
Find and Return Numeric Label based on (Numeric Value) Criterion Sam via OfficeKB.com Excel Worksheet Functions 2 September 18th 06 11:20 PM
Excel 2007 Display value based on values in another column range ChrisM Excel Worksheet Functions 2 September 4th 06 03:32 PM


All times are GMT +1. The time now is 10:13 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"