leatherhen99
New Member
- Joined
- Dec 17, 2019
- Messages
- 27
- Office Version
- 365
- Platform
- Windows
Today has been one of those days! Can someone help?!?
I am referencing a pivottable on another sheet...
This formula:
match(rc[-1] is giving me MATCH(A3
My problem is the A3 highlighted in the match... it's giving the correct cell reference; however, I need it to be $A3 so that it remains in column A... When I add R0c[-1], I end up either getting nothing...or a @ symbol in my formula which is canceled by the iferror statement with nothing.
I've scoured these message boards, and apparently, this hasn't come up for anyone else...
Any help would be greatly appreciated!!!
Heather
I am referencing a pivottable on another sheet...
This formula:
VBA Code:
ActiveCell.FormulaR1C1 = "=iferror(index('" & PSheet.Name & "'!r4c3:r" & LastRow & "c" & LastCol & ",match(rc[-1],'" & PSheet.Name & "'!r4c2:r" & LastRow & "c2,0)" & ",match(r2c[0],'" & PSheet.Name & "'!r3c3:r3c" & LastCol & ",0)),"""")"
Excel Formula:
=IFERROR(INDEX(PivotTable!$C$4:$CB$179,MATCH(A3,PivotTable!$B$4:$B$179,0),MATCH(B$2,PivotTable!$C$3:$CB$3,0)),"")
match(rc[-1] is giving me MATCH(A3
My problem is the A3 highlighted in the match... it's giving the correct cell reference; however, I need it to be $A3 so that it remains in column A... When I add R0c[-1], I end up either getting nothing...or a @ symbol in my formula which is canceled by the iferror statement with nothing.
I've scoured these message boards, and apparently, this hasn't come up for anyone else...
Any help would be greatly appreciated!!!
Heather