def format_cell(v_obj, exp):
    """ return a formatted cell value for one combination of var_mip and mod_ens """
    value = v_obj.version
    if exp[0:6] == 'decadal':
        value = exp[7:] + ' ' + v_obj.version
    if value[0:2] == 've':
        value += ' (estimate) '
    if value == 'NA':
        value = 'version not defined'
    if v_obj.is_latest:
        value += ' latest on ' + v_obj.checked_on
    if v_obj.to_update:
        value += ' to update '
    return value + ' | '
