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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,223,759
Messages
6,174,336
Members
452,555
Latest member
colc007

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