新足迹

 找回密码
 注册

精华好帖回顾

· 汽车被别人追尾--FIX 和保险CLAIM 的进程! (2008-8-26) jialiren · 参加活动片尾曲:小时候过年的七个瞬间 (2012-2-5) 虞宅与美丽
· 澳洲生活Q & A – 吃 (补充版本) (2005-1-6) 高西西 · stand flower again~~~今天俺家就一个菜——【蒜苗版水煮牛肉】 (2011-8-8) 航迹云
Advertisement
Advertisement
查看: 800|回复: 4

[会计] Excel 求助,查找资料库的v/Hlookup [复制链接]

发表于 2010-12-14 08:37 |显示全部楼层
此文章由 640 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 640 所有!转贴必须注明作者、出处和本声明,并保持内容完整
最近需要给资料库写一个查找的formula, 因为有N+1 rows & col, 而且output是需要同时match row的data和column的data;

尝试了v/hlookup 但只能return回来特定的其中一组资料,尝试了index/match还是只是特定一组的;

具体的说,例如A1是输入row的search criteria,A2是输入column的searchcriteria,然后A3需要根据A1和A2的input在一个excel的datasheet里查找相对的数据。不知这样说清楚不。。。。。 我可以把A1和A2 做成drop down list,但A3我真的没办法。。。。。 

大家有什么建议??? 我以前做income tax table的时候用的是IF ,因为数据量比较少,可以一个一个写,这次不行了。。。。。我的excel skill还是比较白啊。。。。。。 


先拜拜各位高手了~~~
Advertisement
Advertisement

发表于 2010-12-14 09:14 |显示全部楼层
此文章由 raya 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 raya 所有!转贴必须注明作者、出处和本声明,并保持内容完整
可以用v/hlookup 嵌套 match 做二维的查找.
for example
vlookup(A1,row_Array,match(A2,colume_array,0),0)

发表于 2010-12-14 09:23 |显示全部楼层
此文章由 640 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 640 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 raya 于 2010-12-14 10:14 发表
可以用v/hlookup 嵌套 match 做二维的查找.
for example
vlookup(A1,row_Array,match(A2,colume_array,0),0)


Returned as N/A...... i think coz it still only can search for 1 set of column & row, am I right? I entered the whole excel table for the row_array/colume_array, is that the right way to do?

发表于 2010-12-14 09:34 |显示全部楼层
此文章由 raya 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 raya 所有!转贴必须注明作者、出处和本声明,并保持内容完整
colume_array try to use just one row(header row)

发表于 2010-12-14 10:02 |显示全部楼层
此文章由 640 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 640 所有!转贴必须注明作者、出处和本声明,并保持内容完整
原帖由 raya 于 2010-12-14 10:34 发表
colume_array try to use just one row(header row)



OH YESSSSSSSSSSSSSSSSSS, it worked!!!!!!!!!!!!!!!!!!!!!

=VLOOKUP(A224,A1:EO222,MATCH(B224,3:3,0),0)

A224 = A1
B224 = A2
A1:EO222 = Table Array/whole table
3:3 = the row contains the column criteria

Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

发表回复

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

本版积分规则

Advertisement
Advertisement
返回顶部