With https://github.com/caxlsx/caxlsx gem I'm trying to access defined names created dynamically over iteration with an each_with_index array method and giving each one with a name like "piece-0", "piece-1", "piece-3"... etc. On the file, the names are correctly created but I need the formula for sum many calling them by the name.
she.add_row ["Total","",""] + ["--the sum of cells by name must be here--"]
I create the names but I need to know how to use them.
Solved!
Solution was build a string that concatenate and reference the cells.
something like this.