I am working on an automatization of a process to generate an excel with accountancy information. I have my datasets configurated and I want to put them on an especific format at Excel. I am from Spain so I want to put the money information in € format, such as 89.234,12€ but the number_format of openpyxl doesn't let me do that. I tried what you told me and this other way '#,##0.00"€"' and it doesn't write the euro sign. I have my code at coding latin-1.
```
for row in ws["A16:K16"]:
for cell in row:
cell.font = Font(name='Calibri', size = 11, bold = True)
letr = list(string.ascii_uppercase)[0:11]
for j in letr:
if j in list(string.ascii_uppercase)[0:7]:
for i in ws[j]:
i.alignment = Alignment(horizontal = "center")
if j in ['C','E','G','H']:
for i in ws[j]:
i.number_format = '0.00%'
if j in ['D','I','J','K']:
for i in ws[j]:
i.number_format = '#,##0.00'
if j == 'F':
for i in ws[j]:
i.number_format = '#,##0_-'
```
Other issue, I'm also doing charts with openpyxl, and I'm trying to set labels just above the columns. I have two issues here, one is that the labels aren't the ones from the column (€) there are the variation of the ranking over the previous year.
The other issue is that I want to custom that label to put it green when the value is negative and red if the value is positive. Is that possible?
Thank you so much for your information.