bobaol
Board Regular
- Joined
- Jun 3, 2002
- Messages
- 225
- Office Version
- 365
- 2003 or older
- Platform
- Windows
Hello, I need to use the value in A1 as my absolute reference. here is the formula in the cell =INDEX($A$36907:$BBW$999999,MATCH(TRIM(AH2),$A$36907:$A$999999,0),1) when i record it, the formula becomes this:
Selection.FormulaR1C1 = "=INDEX(R36907C1:R999999C1427,MATCH(TRIM(RC[-6]),R36907C1:R999999C1,0),1)" I have a value in cell A1 that changes depending on the day. I tried changing it to this, Selection.FormulaR1C1 = "=INDEX(R&range("a1")&C1:R999999C1427,MATCH(TRIM(RC[-6]),R&range("a1")&C1:R999999C1,0),1)" but it does not work. Any help is appreciated. thanks in advance.
Selection.FormulaR1C1 = "=INDEX(R36907C1:R999999C1427,MATCH(TRIM(RC[-6]),R36907C1:R999999C1,0),1)" I have a value in cell A1 that changes depending on the day. I tried changing it to this, Selection.FormulaR1C1 = "=INDEX(R&range("a1")&C1:R999999C1427,MATCH(TRIM(RC[-6]),R&range("a1")&C1:R999999C1,0),1)" but it does not work. Any help is appreciated. thanks in advance.