Can you help me to merge the cells with OpenPyXL?

Hi guys,

from the documentation, I already know how to merge cells in Excel, but I need your help because I can’t create a kind of table. below an example:

[Image: d1a04b1368591287.jpg]

if I have to add four columns, the result has to be like shown in the image (the merge of the cells depends by the result of the 2**n).

I wrote only the body of the code, but the main part it’s difficult to implement. can you help me to write it?

https://sarkarijobs.gen.in/

Hi there and welcome!

Can you please share your full code? We will not write code for you, but we can help you as you write the code.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.