asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,286
- Office Version
- 2013
- Platform
- Windows
Code:
{=IF(ISNA(MATCH(C32,C$5:C$24,0)),"",INDEX(A$5:A$24,MATCH(C32,C$5:C$24,0)))}
{=IF(ROWS(C$32:C32)<=C$41,SMALL($C$5:$C$24,ROWS(C$32:C32)),"")}
{=IF(ISNA(MATCH(E32,C$5:C$24,0)),"",INDEX(A$5:A$24,MATCH(E32,C$5:C$24,0)))}
{=IF(ROWS(E$32:E32)<=E$41,LARGE($C$5:$C$24,ROWS(E$32:E32)),"")}
How can i target those formulas with the codes like below?
Code:
Sheet1.Cells(32, 2).Resize(9, 1).Formula =.........
Code:
Sheet1.Cells(32, 3).Resize(9, 1).Formula =.........
Code:
Sheet1.Cells(32, 4).Resize(9, 1).Formula =.........
Code:
Sheet1.Cells(32, 5).Resize(9, 1).Formula =.........
Many Thanks