IF(logical_test, may be a number or text
Any text is deemed to be greater than any number.....so when L20 is
text it satisfies the first condition and 500 is returned. Best to use
an IF to check if L20 is a number or not
=IF(ISNUMBER(L20),MEDIAN(0,500,L20),L20)
regards, barry
|