You need to select all the values in column A for which you want the code to transform values in Column B.