新足迹

 找回密码
 注册

精华好帖回顾

· 闲聊-----几个小小孩(实习体会散记) (2012-9-13) mittag · 杀手 (2008-12-13) dxiao
· E&E -- 碧绿韭菜煎饼 (2009-4-1) 闲夏采薇 · 一壶清酒酬知己,半生相知有几人——自留地,写写旧人往事(更新:旅途) (2010-12-1) feicunzic
Advertisement
Advertisement
查看: 799|回复: 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
返回顶部