易表在线答疑技术与交流用户社区 → [求助]自动排班


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

主题:[求助]自动排班

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


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

何不上传你的示例文件。
看看这个贴子有没有借鉴的地方
http://www.datasoft.com.cn/cgi-bin/topic.cgi?forum=9&topic=1303

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


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

删除所有变量。
删除三个班组列的刷新公式。
分班表增加一列数值型列,名称为“序号”。
序号列默认值公式:row
序号列刷新公式:row

白班列默认值公式:

if(FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row-1,"夜班")))="",cell(1,"姓名","分班"),FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row-1,"夜班"))))

中班列默认值公式:

if(FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row,"白班"))) = "",cell(1,"姓名","分班"),FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row,"白班"))))

夜班列默认值公式:

if(FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row,"中班"))) = "",cell(1,"姓名","分班"),FindText("分班","姓名","序号",">",FindText("分班","序号","姓名","=",cell(row,"中班"))))


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


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

你的问题10楼的公式可以套用的。

if(FindText("分班","行政值班","序号",">",FindText("分班","序号","行政值班","=",cell(row-1,"行政值班人员")))="",cell(1,"行政值班","分班"),FindText("分班","行政值班","序号",">",FindText("分班","序号","行政值班","=",cell(row-1,"行政值班人员"))))


 回到顶部