2、判断2行1列单元格是合并的,代码如下:
TABLE("BG-1|2|1","单元格合并判断","0") = "1"
3、判断3行1列单元格是没有合并的,代码如下:
TABLE("BG-1|3|1","单元格合并判断","0") = "0"
4、判断4行1列单元格是合并的,代码如下:
TABLE("BG-1|4|1","单元格合并判断","0") = "1"
最终代码如下:
TABLE("BG-1|1|1","单元格合并判断","0") = "0"
TABLE("BG-1|2|1","单元格合并判断","0") = "1"
TABLE("BG-1|3|1","单元格合并判断","0") = "0"
TABLE("BG-1|4|1","单元格合并判断","0") = "1"
合并单元格判断位置如图: