Hi,
Welcome to the forum..
In this specific case, You have to use a helper column, lets say D, in this column use your formula. "=if (B3>C3,B3,C3)", coz, excel need one physical area, to compare Col C, with Col B,
BTW. to get the value you are using a UDF, and You can change your UDF, to get...