So, i know that the title is a little incomprehensible... I'm trying to make some kind of a alerting system for data coming from rs232 (from digial scale). Those values have to be within limits that are already specified.That part was not hard to figure out, but im having trouble with formulas.
Data from scale is automatically captured to A5.
In B5 i have formula to eliminate extra symbols from captured values:
=(MID(A5;3;3))
C5 and D5 contains upper and lower values.
Formula in question is (some random cell, lets say F5, im using merged cells for it):
=IF(ISBLANK(B5);"ERR";IF(B5=MEDIAN(C5:D5);"Yes";"No"))
and im getting wrong results from it. Eg. when formula in B5 is manually replaced with number that is within limits of C5 and D5, result of formula in F5 is correct, when using formula (=(MID(A5;3;3))) that same value, when coming from RS232 port, it shows wrong result.
I have attached xls so you can see what im talking about![]()
Bookmarks