g48dd
Board Regular
- Joined
- Jan 12, 2009
- Messages
- 101
Excel 2003, What I need is A1 red if less than 15, yellow if less than 31, and green if less than 61. I tried several different ways. Of course th red is no problem but yellow, can you use > than this but < less than that? or use AND? I wrote it as 1st condition <14, add second condition <31, add third condition < 61 but it doesn't work correctly. I am not sure I understand how excel looks at the conditions. The number 3 meets all three conditions where as the number 28 only meets two. Excel has to then choose which condition to satisfy, so I am writing it wrong. I am guessing that I have to write so that excel has no choice that a single number will only satisfy one condition and so excel will then know which condition to meet? Am I making this more difficult than it is?<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" oreferrelative="t" o:spt="75" coordsize="21600,21600"> <v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><vath o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></vath><?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shape id=_x0000_i1025 style="WIDTH: 12pt; HEIGHT: 15.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://www.mrexcel.com/forum/images/smilies/confused.gif" src="file:///C:\TEMP\msohtml1\06\clip_image001.gif"></v:imagedata></v:shape><o></o>