system
June 17, 2016, 4:10am
1
Hi Friends,
In BOXI R2 My scenario -
I have 4 columns - Number, Name, Temperature, Temperature Unit.
Tempefrature - Contains the measured value of temperature in Celcius and Fahrenheit.
Temperature units - Shows the units of the temperature measured.
now I need to convert the entire temperature column with temperature values to Celcuis. I tried ‘IF statement’ but didnot work.
Please help.
karthikgpks (BOB member since 2016-06-15)
system
June 17, 2016, 7:12am
2
Welcome to B:bob:B !
Can you post what you tried?
Marek Chladny (BOB member since 2003-11-27)
MarkP
June 17, 2016, 9:02am
3
Wouldn’t it be something simple, like this:
=If([Units]="F";([Temp]-32)/1.8;[Temp])
system
June 17, 2016, 10:05am
4
Wow… Simple and easy… It really works… But still the values are not meeting exactly… I will take care that…
Thank you sooo much bro
Thank you All…
karthikgpks (BOB member since 2016-06-15)
system
June 20, 2016, 2:23am
5
Try using
(([Temp]-32)*5)/9
For the actual conversion part of the If statement by Mark, then format the result to whatever number of decimal places you require.
hueysantiago (BOB member since 2015-08-03)
system
June 20, 2016, 2:30pm
6
I’m really curious why your values aren’t exact. It’s a pretty standard formula
joepeters (BOB member since 2002-08-29)
MarkP
June 20, 2016, 3:14pm
7
Indeed.
I always test with
-40 to -40
0 to 32
100 to 212