def edr_convert_function(col_letter, text):
    """
    Fill in the EDR calculation formulas
    :param col_letter: the column letter in which the original numeric data will be located
    :param text: the formula text for this row of data
    :return: the calculation formula to be filled into the cell
    """
    parenthesis_idx = text.find("(")
    return text[:parenthesis_idx+1] + col_letter + text[parenthesis_idx+2:]