AthmanArumugam
Member
Hi All,
I have values in two cells which needs to be compared.
Values in the cells are floating point decimals.
Eg. Value in Cell A1 = 123645.445
Value in Cell A2 = 123645.446
I use Text formula to do the comparison. "=Text(A1,"0.0")=Text(A2,"0.0")".
The result is false. Actually I want the first value after the decimal only to be compared.
But the Text formula rounds off the value in cell A1 to the nearest possible value.
If converts A1 to 123645.5 and compares with A2[123645.4]. Not sure why
only A1 value is rounded off while not A2.
Kindly refer to cell Q12 which I am talking about.
I have values in two cells which needs to be compared.
Values in the cells are floating point decimals.
Eg. Value in Cell A1 = 123645.445
Value in Cell A2 = 123645.446
I use Text formula to do the comparison. "=Text(A1,"0.0")=Text(A2,"0.0")".
The result is false. Actually I want the first value after the decimal only to be compared.
But the Text formula rounds off the value in cell A1 to the nearest possible value.
If converts A1 to 123645.5 and compares with A2[123645.4]. Not sure why
only A1 value is rounded off while not A2.
Kindly refer to cell Q12 which I am talking about.