def output_to_excel(outputs: dict, sheet, output_dict: dict):
    """ output_to_excel(dict, openpyxl.sheet, dict)

		Takes the output dictionary produced by multiple hubs, and
		writes specific fields to the passed excel sheet based on
		the output dictionary passed.

		Args:
			outputs(dict): The dictionary produced by multiple_hubs.

			sheet(openpyxl.sheet): The excel sheet to be written to.

			output_dict(dict): A dictionary that links keys found in the
					   outputs dict, and the column that they should
					   appear in, within the sheet.

	"""
    cols = list(sheet.iter_cols(min_col=1, max_col=1))[0]
    first_empty_row = len(cols) + 1
    sheet.merge_cells('A{}:B{}'.format(first_empty_row, first_empty_row))
    sheet.merge_cells('C{}:D{}'.format(first_empty_row, first_empty_row))
    sheet.merge_cells('E{}:F{}'.format(first_empty_row, first_empty_row))
    sheet.merge_cells('G{}:H{}'.format(first_empty_row, first_empty_row))
    for key, value in output_dict.items():
        try:
            sheet['{}{}'.format(value, first_empty_row)] = outputs[key]
        except:
            continue
