English 中文(简体)
Excel工作表函数总是默认为false条件的问题
原标题:Problem with Excel worksheet function always defaulting to the false conditional

有人能找出我的Excel公式出了什么问题吗?

 =IF(vdnh.rpt!$B:$B=B$1,VLOOKUP($A3,vdnh.rpt!$A$21:$L$34,6),"-")

它不起作用,一直给我“-”的答案。

最佳回答

它不起作用,因为你不能要求范围等于一个单元格,除非你尝试一个数组公式。只需进入配方所在的单元格,然后点击CTRL-SHIFT-ENTER,看看它是否有效。

问题回答

vdnh.rpt$B: $B=B$1为false(B1中的值与公式所在行B列中单元格的值不匹配),因此显示IF语句“-”的false部分。





相关问题
import of excel in SQL imports NULL lines

I have a stored procedure that imports differently formatted workbooks into a database table, does work on them then drops the table. Here is the populating query. SELECT IDENTITY(INT,1,1) AS ID ...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

Excel date to Unix timestamp

Does anyone know how to convert an Excel date to a correct Unix timestamp?

C# GemBox Excel Import Error

I am trying to import an excel file into a data table using GemBox and I keep getting this error: Invalid data value when extracting to DataTable at SourceRowIndex: 1, and SourceColumnIndex: 1. As ...

Importing from excel "applications" using SSIS

I am looking for any tips or resources on importing from excel into a SQL database, but specifically when the information is NOT in column and row format. I am currently doing some pre-development ...

热门标签