发布网友 发布时间:2022-04-23 17:07
共1个回答
热心网友 时间:2023-10-10 05:35
可以用下列语言自定义vlookup函数,hlookup你自己看葫芦画瓢就行了.
Function vblook(a As Range, area As Range, b As Integer)
For i = 1 To area.Rows.Count
If a = area.Cells(i, 1) Then
vblook = area.Cells(i, b)
End If
Next
End Function