Hey All,
I'm curious to know if I have something incorrect with the below or should go about it differently. I've tested the ranges by splitting up the formula to ensure the ranges are setup correctly, they are. Currently, I'm just trying to get the formula to work and then utilize some variables. Thanks for having a look.
I'm curious to know if I have something incorrect with the below or should go about it differently. I've tested the ranges by splitting up the formula to ensure the ranges are setup correctly, they are. Currently, I'm just trying to get the formula to work and then utilize some variables. Thanks for having a look.
Code:
Dim modlv As Variant
modlv = Application.Index(Sheets("Poll").Range("I4:I7500"), _
Application.Match(Sheets("Info").Range("E15"), Sheets("Poll").Range("A4:A7500"), 0), _
Application.Match(Sheets("Info").Range("C22"), Sheets("Poll").Range("G4:G7500"), 0))
If IsError(modlv) = False Then
Range("D22") = modlv
Else
Range("D22") = ""
End If