Think before you speak, read before you think.

excel中vlookup函数的应用

需求:ip与主机名对应,现在选出几个ip来,要能在右侧自动生成对应的主机名。

VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

按上面的参数顺序用语言描述为:查找的值,查找的区域,查找的目标值所在的列,精确查找还是模糊查找

如果查找出现N/A这种情况,可以用iferror使其变为空,2007及以上版本适用

=IFERROR(vlookup(1,2,3,0),0)

更多查看:http://baike.baidu.com/view/3170068.htm?fromId=3153205

视频教程:http://v.youku.com/v_show/id_XMzI5NDE0MDE2.html


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *