acerlaptop
New Member
- Joined
- Feb 17, 2020
- Messages
- 44
- Office Version
- 2013
- Platform
- Windows
Hi,
I have a part here of my VBA code. I don't know what the problem is but the code returns a single result to all the covered ranges. It only returns the result for the first item.
For example:
In column F2 up to F10
All the results returned by the code from F2 to F10 is the result for F2.
Any thoughts?
Thanks
I have a part here of my VBA code. I don't know what the problem is but the code returns a single result to all the covered ranges. It only returns the result for the first item.
For example:
In column F2 up to F10
All the results returned by the code from F2 to F10 is the result for F2.
VBA Code:
Sheets(strN3).Range("F2:F" & LastRow2).FormulaArray = _
"=INDEX(HELPER!C[-3],MATCH(1,(HELPER!C[-2]=RC[-3])*(HELPER!C[-1]=RC[-2]),0))"
Any thoughts?
Thanks