Stupid Excel questi...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Stupid Excel question

5 Posts
5 Users
0 Reactions
103 Views
Posts: 1
Free Member
Topic starter
 

I have three temperatures T1, T2 & T3. How do I write a formula to highlight if one of the temperatures is more than five degrees different to the others. I know I can just look at the three temperatures and see the difference in an instant, but I'm trying to write a formula to make it idiot proof (because I have been known to work with idiots) 🙄

Cheers


 
Posted : 14/08/2011 4:26 pm
 mrmo
Posts: 10687
Free Member
 

use an IF statement,

Something like IF t1>t2+5, do x, IF t2>t1+5...

just think of the combinations and should be good to go.


 
Posted : 14/08/2011 4:30 pm
Posts: 36
Free Member
 

use "Conditional Formatting" under "Format"

depending on which one you want to be comparing to the other two (or both?) then assume you have columns A, B and C, in Column A set condition format to be:

"Formula is" (from first drop down box)

=OR(A1<(B1-5), A1>(B1+5), A1<(C1-5), A1>(C1+5))

And set a format (that is different to the natural format) in the "format" button.

that particular formula compares A with B and C for +/-5deg simultaneously. You can obviously change the logical test you want the highlighting to be based upon.


 
Posted : 14/08/2011 4:34 pm
Posts: 23277
Free Member
 

Is the future nuclear safety of the uk really in the hands of STW?


 
Posted : 14/08/2011 4:36 pm
Posts: 0
Free Member
 

=IF(AND(MAX($J$7:$J$10)>=MIN($J$7:$J$10)+5,J7=MAX($J$7:$J$10)),"Attention","")


 
Posted : 14/08/2011 4:59 pm
Posts: 1
Free Member
Topic starter
 

Thanks again.


 
Posted : 14/08/2011 7:22 pm

6 DAYS LEFT
We are currently at 95% of our target!