易表在线答疑技术与交流用户社区 → [求助]列数据如何在它表中转为行数据?


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

主题:[求助]列数据如何在它表中转为行数据?

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


加好友 发短信
等级:超级版主 帖子:13147 积分:-89 威望:0 精华:0 注册:2006/8/11 11:14:00
  发帖心情 Post By:2008/8/12 11:27:00 [显示全部帖子]

最大值是多少?

 回到顶部
帅哥哟,离线,有人找我吗?
Czy
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:13147 积分:-89 威望:0 精华:0 注册:2006/8/11 11:14:00
  发帖心情 Post By:2008/8/12 13:53:00 [显示全部帖子]

增加一个字符型列,命名为辅助。此列列位置为最后列。
辅助列刷新公式:

Concat(if(Instr("00",[复制数据])>-1,"|00",""),if(Instr("01",[复制数据])>-1,"|01",""),if(Instr("02",[复制数据])>-1,"|02",""),if(Instr("03",[复制数据])>-1,"|03",""),if(Instr("04",[复制数据])>-1,"|04",""),if(Instr("05",[复制数据])>-1,"|05",""),if(Instr("06",[复制数据])>-1,"|06",""),if(Instr("07",[复制数据])>-1,"|07",""),if(Instr("08",[复制数据])>-1,"|08",""),if(Instr("09",[复制数据])>-1,"|09",""),if(Instr("10",[复制数据])>-1,"|10",""),if(Instr("11",[复制数据])>-1,"|11",""),if(Instr("12",[复制数据])>-1,"|12",""),if(Instr("13",[复制数据])>-1,"|13",""),if(Instr("14",[复制数据])>-1,"|14",""),if(Instr("15",[复制数据])>-1,"|15",""),if(Instr("16",[复制数据])>-1,"|16",""),if(Instr("17",[复制数据])>-1,"|17",""),if(Instr("18",[复制数据])>-1,"|18",""),if(Instr("19",[复制数据])>-1,"|19",""),if(Instr("20",[复制数据])>-1,"|20",""),if(Instr("21",[复制数据])>-1,"|21",""),if(Instr("22",[复制数据])>-1,"|22",""),if(Instr("23",[复制数据])>-1,"|23",""),if(Instr("24",[复制数据])>-1,"|24",""),if(Instr("25",[复制数据])>-1,"|25",""),if(Instr("26",[复制数据])>-1,"|26",""),if(Instr("27",[复制数据])>-1,"|27",""),if(Instr("28",[复制数据])>-1,"|28",""),if(Instr("29",[复制数据])>-1,"|29",""),if(Instr("30",[复制数据])>-1,"|30",""),if(Instr("31",[复制数据])>-1,"|31",""),if(Instr("32",[复制数据])>-1,"|32",""),if(Instr("33",[复制数据])>-1,"|33",""),if(Instr("34",[复制数据])>-1,"|34",""),if(Instr("35",[复制数据])>-1,"|35",""),if(Instr("36",[复制数据])>-1,"|36",""),if(Instr("37",[复制数据])>-1,"|37",""),if(Instr("38",[复制数据])>-1,"|38",""),if(Instr("39",[复制数据])>-1,"|39",""),if(Instr("40",[复制数据])>-1,"|40",""),if(Instr("41",[复制数据])>-1,"|41",""),if(Instr("42",[复制数据])>-1,"|42",""),if(Instr("43",[复制数据])>-1,"|43",""),if(Instr("44",[复制数据])>-1,"|44",""),if(Instr("45",[复制数据])>-1,"|45",""),if(Instr("46",[复制数据])>-1,"|46",""),if(Instr("47",[复制数据])>-1,"|47",""),if(Instr("48",[复制数据])>-1,"|48",""),if(Instr("49",[复制数据])>-1,"|49",""))

数据排序所有列通用公式:

Split([辅助],"|",col)


 回到顶部
帅哥哟,离线,有人找我吗?
Czy
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:13147 积分:-89 威望:0 精华:0 注册:2006/8/11 11:14:00
  发帖心情 Post By:2008/8/12 15:21:00 [显示全部帖子]

下面引用由程兴刚2008/08/12 02:50pm 发表的内容:
这是一个通用案例,数据长度可以为1~N个,数值大小随意!

呵,重算下就乱套了。

 回到顶部