我收到类型不匹配 13 错误,我看不到它在哪里。
这是代码。
Set concRange = Range(Cells(11, 48), Cells((10 + noDilutions), 48))
Set deadRange = Range(Cells(11, 49), Cells((10 + noDilutions), 49))
analysisSheet.Cells(f, 14).Value = _
(WorksheetFunction.Lookup(WorksheetFunction.Index(deadRange, _
WorksheetFunction.CountIf(deadRange, " >= " & _
(WorksheetFunction.Max(deadRange) / 2))), deadRange, concRange)) _
- (((WorksheetFunction.Index(deadRange, WorksheetFunction.CountIf _
(deadRange, " >= " & (WorksheetFunction.Max(deadRange) / 2)))) _
- (WorksheetFunction.Max(deadRange) / 2)) * ((WorksheetFunction.Lookup _
(WorksheetFunction.Index(deadRange, WorksheetFunction.CountIf(deadRange, _
" >= " & (WorksheetFunction.Max(deadRange) / 2))), deadRange, concRange)) _
- (WorksheetFunction.Lookup(WorksheetFunction.Index(deadRange, _
WorksheetFunction.CountIf(deadRange, " <= " & _
(WorksheetFunction.Max(deadRange) / 2))), deadRange, concRange))) _
/ ((WorksheetFunction.Index(deadRange, WorksheetFunction.CountIf(deadRange, _
" >= " & (WorksheetFunction.Max(deadRange) / 2)))) _
- (WorksheetFunction.Index(deadRange, WorksheetFunction.CountIf _
(deadRange, " <= " & (WorksheetFunction.Max(deadRange) / 2))))))
我尝试将“WorksheetFunction”更改为“Application”和“Application.WorksheetFunction”。
是的,这是一个非常长的公式:D
谁能帮我吗?