报表有两个字段,分别存放以逗号间隔的年月信息(如202401,202402),需要计算A1单元格中不存在A2单元格的月份信息,请问如何处理?好像没有数组差集的方法
A1单元格内容:202401,202402,202404,202405
A2单元格内容:202401,202402,202403,202404,202405,202406,202407,202408
A3单元格希望显示内容:202403,202406,202407,202408
这个
数组差集
greparray(['泰山','衡山','衡山','华山','嵩山'],inarray(item,['泰山','衡山'])=0)
===
就是
greparray(split(A2,",'),inarray(item,split(A1,",'))=0)
GREPARRAY(split("202401,202402,202403,202404,202405,202406,202407,202408",","),find(item,"202401,202402,202404,202405")=0)