Simple Grid
1
2
3
1
2
3
4
1
2
3
4
5
Complex grid
1
2
3
Merge the first 2 columns
2
3
4
1
Merge 3 columns
3
1
Merge 2
Merge 3
4
5
6
7
1
Merge 2 columns
3