當前位置:商標查詢大全網 - 會計考試 - 為什麽我用excel做表格,輸入函數=IF(E5= ""," ",VLOOKUP(E5,會計數據,2,0))後會出現#NAME?我哪裏做錯了?

為什麽我用excel做表格,輸入函數=IF(E5= ""," ",VLOOKUP(E5,會計數據,2,0))後會出現#NAME?我哪裏做錯了?

估計是數字格式不匹配。

因為數字有兩種:數值型和文字型。

科目數據應改為單元格範圍,例如:A1:B10。

換成

=IF(E5= ""," ",VLOOKUP( - E5,A1:B10,2,0))

或者

=IF(E5= ""," ",VLOOKUP(" " & amp;E5,A1:B10,2,0))