易表在线答疑技术与交流用户社区 → [求助]如何设置按钮公式筛选出存在“交集”的行


  共有20775人关注过本帖树形打印复制链接

主题:[求助]如何设置按钮公式筛选出存在“交集”的行

帅哥哟,离线,有人找我吗?
Don
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:35 积分:80 威望:0 精华:0 注册:2011/6/4 17:54:00
  发帖心情 Post By:2012/1/18 12:45:00 [显示全部帖子]

這樣高效些:

增一"重叠"字符型辅助列

ReplaceFor("表1","重叠","") And EvalFor("表1","第三列","""|"" [第三列] ""|""") And EvalFor("表1","第三列","If(Eval(""if(FindRow(""""表1"""",""""第三列"""",""""Instr" """,""""|"" Substitute(Substitute(Substitute(Eval(""Substitute(""""|@|#|"""",""""|"""",""" """ Substitute(Mid([第三列],1,Len([第三列])-2),""|"","""""") """"|"""" Substitute (""""|@|#|"""",""""|"""","""""") """""")""),""|""," "|"""",""""重叠"""",""""="""",""""""""), if(FindRow(""""表1""" ",""""第三列"""",""""Instr"""",""""|""),""@"",""|"""",2)> 0,ReplaceFor(""""表1"""",""""重叠"""",""""""),""#"","""""",""""第三列"""",""""instr"""",""""|"") ""|"""",""""重叠"""",""""=" """,""""""""),True "" Rept("")"",1 Len(Mid([第三列],1,Len([第三列])-2)) -Len(Substitute(Mid([第三列],1,Len([第三列])-2),""|"","""")))),Mid([第三列], 1,Len([第三列])-2),Mid([第三列],1,Len([第三列])-2))") And Do(112) And FilterFor("重叠", ">" ,"") And SortCol("表1","第三列",1) And SortCol("表1","重叠",1)


 回到顶部