Error: unable to get the match property of the worksheet function class

punno

New Member
Joined
Apr 23, 2019
Messages
8
Dear Good People,

I am having this error message: unable to get the match property of the worksheet function class. Below is my code where iam getting These Problem. Let me know what should i corret.Thanks

For i = 15 To 1000
If Worksheets("Sheet1").Cells(0 + i, 6) > 3 Then
'Worksheets("Sheet1").Cells(0 + i, 7) = "=INDEX('Known issues'!$A$3:$H$1000,MATCH('Known issues'!H28,'Known issues'!$F$3:$F$10,0),3)"
Worksheets("Shet1").Cells(0 + i, 7).Value = Application.WorksheetFunction.Index(Sheets("Known issues").Range("$A$3:$H$1000"), Application.WorksheetFunction.Match(Sheets("Known issues").Cells(i - 12, 8).Value, Sheets("Known issues").Range("$F$3:$F$10"), 0), 3)
End If
Next i




Best Regards,
Punno
 
It doesnt give any value , completely blank.i wanted to use the for Loop thats why i used worksheet function to use cells.

One correction. It does give right value for all the cells where the condition met.After that this error message Shows up and when i press debug it Point out to the lne after the if condition
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Which is exactly what I pointed out in post#5 ;)
Try
Code:
   Dim x As Variant
   For i = 15 To 1000
      If Worksheets("Sheet1").Cells(0 + i, 6) > 3 Then
         x = Application.Index(Sheets("Known issues").Range("$A$3:$H$1000"), Application.Match(Sheets("Known issues").Cells(i - 12, 8).Value, Sheets("Known issues").Range("$F$3:$F$10"), 0), 3)
         If Not IsError(x) Then Worksheets("Sheet1").Cells(0 + i, 7).Value = x
      End If
   Next i
End Sub
 
Upvote 0
What is the error message & row is highlighted when you click debug?
 
Upvote 0
In that case please post the code you are currently using.
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,850
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top