I have sheet where the "heading" are in merged cells and the value is in the cells under the "heading", see example.
How can I count how many cells the heading spans? I need this to know where to start and stop reading the cells that belong to the "heading".
+-----------+-----------+
| Heading1 | Heading2 |
+-----------+-----------+
| 1 | 2 | 3 | 3 | 3 | 4 |
+---+---+---+---+---+---+
| 4 | 5 | 6 | 3 | 3 | 3 |
+---+---+---+---+---+---+