def get_dsd_tab_name(concept_sch, concept_name):
    """ This function looks up the correct Excel tab name
        by finding the row in which the Concept Name column
        in the schema is the same as the concept_name (a search term
        supplied as a parameter to the function).

        For example if the Concept Name is "Income or wealth quantile"
        this would be on line 14 of the schema. So the function will
        the value that is in the "Code List or Uncoded" on line 14
        of the schema, which is "CL_QUANTILE", which is the correct
        name of the tab in the Excel sheet.
        """
    res = concept_sch[concept_sch['Concept Name:en'] == concept_name]
    if res.shape[0] > 0:
        row_num = res.index[0]
        return res.at[row_num, "Code List or Uncoded"]
    else:
        print(f"Skipping {concept_name}; not found in the concept scheme")
        return None