Quote:
Originally Posted by macropod
Hi Jamal,
The underscore under the degree symbol is part of the font you're using. If you don't like it, use a different font.
When using the custom format, all you need to remember is that values in it must be multiplied by 24 to get the 'real' values and 'real' values must be divided by 24 for the custom format. Of course, when comparing the custom format values to a 'real' value, you can apply the conversion to either the custom format value or the 'real' value.
Instead of your IF formula, you can use:
=MOD(B3,15)*24 or =MOD(B3*24,180)
|
Many thanks Paul for the prompt answers
I couldn’t figure out how the MOD can replace the entire if statement
If C3> 180˚, then H3=C3-180˚
If C3<180˚, then H3=C3+180˚
Then how these two equations can be combined in one single MOD function?
I followed your valuable notes regarding multiplying and dividing by 24 and it works very well.
A screenshot and xlsx file are attached.