For example, assuming that the carbon dioxide concentration is 800ppm, 900ppm, and 1000ppm in each of the three rooms, I want to create a condition based on the largest value. What should I do?
Here's an option. Make a variable CarbMax and let's call the concentrations Room1, Room2, and Room3.
Set CarbMax to Room1
IF (Room2 > CarbMax) Set CarbMax = Room2
IF (Room3 > CarbMax) Set CarbMax = Room3
Now CarbMax has the maximum value and you can use it in a conditional statement.
2 Likes
Thanks alot
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.