excel表格,输入编号显示人名
发布网友
发布时间:2022-04-27 07:23
我来回答
共2个回答
热心网友
时间:2022-06-28 11:21
1,.
用IF也是可以的,2007或更高版本,可以做到,
2.
可以用VLOOKUP
例如
现将所有的编号输入 C列
将与编号对应的姓名输入 D列
A2输入 =VLOOKUP(A1,c:d,2,)
即可解决,
3.用LOOKUP
假设编号是 1-20 姓名是 A-T
A2输入公式
=LOOKUP(A1,{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"})
热心网友
时间:2022-06-28 11:22
先建立一张人名和编号对应的表C1~D21
然后在A2中输入sumif(C1:C21,A1,D1:D21)
或者用lookup也可以,只是后面的数据位置变一下