ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 效率神器,一键搞定繁琐工作
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
让更多数据处理,一键完成 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
查看: 2350|回复: 4

[求助] 如何设置引用函数

[复制链接]

TA的精华主题

TA的得分主题

发表于 2007-11-2 12:32 | 显示全部楼层 |阅读模式
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">如何设置函数,使总表以单位为关键字段,引用总表中的整行数据到各个分表中去。谢谢了!</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p><font face="Times New Roman">&nbsp;</font></p><p></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">总表:</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0;"><span lang="EN-US" twffan="done"><font face="Times New Roman">A<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>B<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>C<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>D<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">1<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">单位</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">收入</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">支出</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">结余</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">2<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">甲局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp; </span>2000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp; </span>600<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1400</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">3<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">乙局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp; </span>3000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp; </span>800<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2200 </font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">4<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">丙局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp; </span>4000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp; </span>1000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3000</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p><font face="Times New Roman">&nbsp;</font></p><p></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">预期效果:</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">分表</span><span lang="EN-US" twffan="done"><font face="Times New Roman">1</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span>A<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>B<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>C<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>D</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">1<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">单位</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">收入</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">支出</span><font face="Times New Roman"><br/>&nbsp;&nbsp;&nbsp;<span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></font><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">结余</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">2<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">甲局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp; </span>2000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>600<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1400</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p><font face="Times New Roman">&nbsp;</font></p><p></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">分表</span><span lang="EN-US" twffan="done"><font face="Times New Roman">2</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">A<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>B<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span twffan="done" style="mso-spacerun: yes;">&nbsp;</span>C<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>D</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">1<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">单位</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">收入</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">支出</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">结余</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">2<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">乙局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp; </span>3000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>800<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2200</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p><font face="Times New Roman">&nbsp;</font></p><p></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">分表</span><span lang="EN-US" twffan="done"><font face="Times New Roman">3</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><p><font face="Times New Roman">&nbsp;</font></p></span></p><p><font face="Times New Roman">&nbsp;</font></p><p></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">A<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>B<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>C<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>D</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">1<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">单位</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">收入</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">支出</span><span lang="EN-US" twffan="done"><span twffan="done" style="mso-spacerun: yes;"><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">结余</span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><span lang="EN-US" twffan="done"><font face="Times New Roman">2<span twffan="done" style="mso-spacerun: yes;">&nbsp; </span></font></span><span twffan="done" style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman';">丙局</span><span lang="EN-US" twffan="done"><font face="Times New Roman"><span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp; </span>4000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp; </span>1000<span twffan="done" style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3000</font></span></p> wrq1flDt.rar (1.83 KB, 下载次数: 8) <br/>
[此贴子已经被作者于2007-11-2 13:07:11编辑过]

TA的精华主题

TA的得分主题

发表于 2007-11-2 12:44 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册
<p>用VLOOKUP函数可以解决,具体请传附件。</p>

TA的精华主题

TA的得分主题

发表于 2007-11-2 13:17 | 显示全部楼层
pihIY5rr.rar (3.8 KB, 下载次数: 22) <br/>是不是这样?

TA的精华主题

TA的得分主题

发表于 2007-11-3 08:03 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2007-11-3 08:04 | 显示全部楼层
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2025-1-12 01:01 , Processed in 0.023811 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表