关于EXCEL 公式的问题
如果A1等于1,那么B1就等于"1122"; 如果A1等于2,那么B1就等于"2233"; 如果A1等于3,那么B1就等于"3344"; ........如果A1等于9,那么B1就等于"9900"; 怎么吧这些条件写在一个公式 感谢
Stcxj - 十五级 2010-10-20 00:39
你好,我所举例的 1122 2233 只是一种代码, 并不是像这么有规律, 用A1+1之类的就可以。
比如是呈现出汉字的呢, A1 有可能出现 1 2 3 4 5 6 7 8 9 九种可能, 那么B1.,也就对应有 九种 结果 ,分别对应的就种结果 我 爱 中 华 人 民 共 和 国 ,这种公式怎么写
A1出现1,B1为“我” A1出现2,b1为“爱”.....
关于EXCEL 公式的问题
答案:2 悬赏:0 手机版
解决时间 2021-02-21 20:59
- 提问者网友:温柔港
- 2021-02-20 20:24
最佳答案
- 五星知识达人网友:笑迎怀羞
- 2021-02-20 21:00
=CONCATENATE(A1,A1,RIGHt(A1+1,1),RIGHt(A1+1,1))
回答者: Stcxj - 十五级 2010-10-20 00:39
=CONCATENATE(LOOKUP(A1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1+1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1+1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}))
(太累赘了,建议另建附表作为源数据,用INDEX或VLOOKUP返回)
源数据建立在Sheet2,A列数字、B列对应汉字:
Sheet1的B1输入
=CONCATENATE(VLOOKUP(A1,Sheet2!A:B,2,),VLOOKUP(A1,Sheet2!A:B,2,),VLOOKUP(A1+1,Sheet2!A:B,2,),VLOOKUP(A1+1,Sheet2!A:B,2,))
回答者: Stcxj - 十五级 2010-10-20 00:39
=CONCATENATE(LOOKUP(A1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1+1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}),LOOKUP(A1+1,{1,2,3,4,5,6,7,8,9},{"我","爱","中","华","人","民","共","和","国"}))
(太累赘了,建议另建附表作为源数据,用INDEX或VLOOKUP返回)
源数据建立在Sheet2,A列数字、B列对应汉字:
Sheet1的B1输入
=CONCATENATE(VLOOKUP(A1,Sheet2!A:B,2,),VLOOKUP(A1,Sheet2!A:B,2,),VLOOKUP(A1+1,Sheet2!A:B,2,),VLOOKUP(A1+1,Sheet2!A:B,2,))
全部回答
- 1楼网友:走死在岁月里
- 2021-02-20 21:42
B1 =VALUE(A1&A1&RIGHt(A1+1,1)&RIGHt(A1+1,1))
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯