import openpyxl
wb=openpyxl.load_workbook("한국지역난방공사.xlsx")
ws=wb.active
print("sheet",ws.title,"max_row",ws.max_row,"max_col",ws.max_column)
print("merged",len(ws.merged_cells.ranges))
# print rows B..K (cols2..11) and L,M,N (12,13,14)
for r in range(3, ws.max_row+1):
    vals=[ws.cell(r,c).value for c in range(2,12)]  # B..K
    L=ws.cell(r,12).value; M=ws.cell(r,13).value; N=ws.cell(r,14).value
    # compact D..J
    def s(x): return "" if x is None else str(x)
    print(r, "|B="+s(vals[0]), "|DEFGHIJ="+" / ".join(s(v) for v in vals[2:9]), "|K="+s(vals[9])[:60], "|L="+s(L),"|M="+s(M),"|N="+s(N))
