[GH #2034] Hyperformula with error when inserting column containing merged cells

Tags: #<Tag:0x00007efc6560cf58> #<Tag:0x00007efc6560cdc8>

Hello, my client reported a problem and when I analyzed it I noticed that it was due to the formulas. The problem occurs when I have merged cells. When I try to add a column to the left/right, the problem occurs. I believe it is in specific places where the formula needs to be updated due to changes in cell indexes. In this case, it is occurring in column F.

I will leave the example here with fictitious data but with the exact same formulas used. I reduced the settings as much as possible to have a “cleaner” simulation.

Exemple: insert column error - JSFiddle - Code Playground

In the video I used other settings, which are the settings I use in my system. Here, the error occurred in any column, but I reduced them a few times to try to identify the origin of the error until I reached this impace: merged columns with formulas.

https://youtu.be/PUlJGCzXfp4

Hi @dev.gustavo.oliveira

Thank you for reporting this issue. We have it also reported internally and it is a regression since version 14.2. I’ll update you once it’s fixed. In the meantime the only solution for this would be to use version 14.1, if possible, to avoid the problem.

Thanks for the feedback.