优雅的方式来处理Excel 2011 for Mac中的查找错误


0

我想做一个vlookup,如果vlookup失败,则只返回源的内容。

例:

=vlookup(target,Range,column,FALSE) 

返回#N/A我希望它返回目标。

现在,我可以使用该ISNA函数执行此操作,但是它很笨拙:

=IF(ISNA(VLOOKUP(B14,$CA$2:$CJ$68,5)),B14,VLOOKUP(B14,$CA$2:$CJ$68,5))

这很笨拙,而且这只是一个简单的查找。有没有更流畅的方法可以做到这一点?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.