montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 985
- Office Version
- 2010
- Platform
- Windows
Hello.
I attempted to write a loop for this formula
=IFERROR(MATCH(B2,B3:B$2904,),"")
but, I really don't know to change the cells value for variables,
I understand that I will need more than xx and yy but......
My source data is a dynamic array located at ("B2:G2904") at this time
and then the output would be (" I2:N ")
Please
some help here.
Thanks.
I attempted to write a loop for this formula
=IFERROR(MATCH(B2,B3:B$2904,),"")
VBA Code:
FOR XX = 2 TO Cells(Rows.Count, "B").End(xlUp).Row
FOR YY = 11 TO 16
CELLS(XX, YY).FORMULA =”=IFERROR(MATCH(CELLS(2, 2).ADDRESS & “ , “ CELLS(3, 2).ADDRESS & “ : “ & CELLS(2904, 2,),””””)”
NEXT
NEXT
but, I really don't know to change the cells value for variables,
I understand that I will need more than xx and yy but......
My source data is a dynamic array located at ("B2:G2904") at this time
and then the output would be (" I2:N ")
Please
some help here.
Thanks.