View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph David Biddulph is offline
external usenet poster
 
Posts: 620
Default Multiple Number Ranges Results in Text ('A' if 1-5, 'B' if 6-8, et

You had a number of conditions for which your required result was undefined
in your question, but what about
=IF(A2=46,"Red",IF(A2=35,"Yellow",IF(A2=30,"Gre en",""))) ?
--
David Biddulph

"MS Questionnairess" wrote in
message ...
Ex. A2 is a bunch of numbers that have been conditionally formatted to
show
up as green if between 30 and 34, yellow if between 35 and 45 and red if
46
and over.

However, I need B2 to display the word 'green', 'yellow' or 'red'
depending
on the number range in A2.

Intuitively? Easy. In reality? I'm completely stumped :-P

Help?