Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
查看: 1676|回复: 5

[已解决]求助:关于vlookup

[复制链接]
发表于 2012-3-1 16:20 | 显示全部楼层 |阅读模式
IF(VLOOKUP($D22,[Index.xls]Relationship!$B$2:[Index.xls]Relationship!$L$432,3,0)=0,VLOOKUP($C22,[Index.xls]Relationship!$B$2:$L$432,3,0),IF(AND(C22="公司",VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0.25),0.5,"待判断"))

这个公式是什么意思!!!在线等啊。特别是红色部分,没看清楚。
多谢多谢!

最佳答案
2012-3-1 16:45
本帖最后由 雄鹰 于 2012-7-29 16:32 编辑

IF(VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0,VLOOKUP($C22,[Index.xls]Relationship!$B$2:$L$432,3,0),IF(AND(C22="公司",VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0.25),0.5,"待判断"))


  如果VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0的条件┓
┎───────────────────────────────┛
┝成立,则结果为:VLOOKUP($C22,[Index.xls]Relationship!$B$2:$L$432,3,0)

┕不成立─如果C22="公司"和VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0.25 ┯同时成立则结果为:0.5
                                                                                                                                                  ┕不同时成立则结果为"待判断"

发表于 2012-3-1 16:21 | 显示全部楼层
回复

使用道具 举报

发表于 2012-3-1 16:24 | 显示全部楼层
如果C22的内容是公司和D22查询结果要0.25那么结果是0.2否则待判断
回复

使用道具 举报

 楼主| 发表于 2012-3-1 16:24 | 显示全部楼层
kakaco 发表于 2012-3-1 16:21
http://www.excelpx.com/forum.php?mod=viewthread&tid=224693&page=1#pid3073661
看看这个帖子。。。

就是标红色的是什么意思,多了个and。。。。
能赐教么??


回复

使用道具 举报

 楼主| 发表于 2012-3-1 16:30 | 显示全部楼层
cjainwei 发表于 2012-3-1 16:24
如果C22的内容是公司和D22查询结果要0.25那么结果是0.2否则待判断

多谢多谢。一定要加强学习vlookup
回复

使用道具 举报

发表于 2012-3-1 16:45 | 显示全部楼层    本楼为最佳答案   
本帖最后由 雄鹰 于 2012-7-29 16:32 编辑

IF(VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0,VLOOKUP($C22,[Index.xls]Relationship!$B$2:$L$432,3,0),IF(AND(C22="公司",VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0.25),0.5,"待判断"))


  如果VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0的条件┓
┎───────────────────────────────┛
┝成立,则结果为:VLOOKUP($C22,[Index.xls]Relationship!$B$2:$L$432,3,0)

┕不成立─如果C22="公司"和VLOOKUP($D22,[Index.xls]Relationship!$B$2:$L$432,3,0)=0.25 ┯同时成立则结果为:0.5
                                                                                                                                                  ┕不同时成立则结果为"待判断"

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2024-4-29 14:32 , Processed in 0.247814 second(s), 8 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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