AlanStrobel
New Member
- Joined
- Aug 22, 2013
- Messages
- 10
Why does the 1st formula work but he 2nd give me the REF error.
The '2024' is the sheet name which will increase each year but want to keep previous years.
=INDEX('2024'!$U$4:$BU$7,MATCH(Main!$C3,'2024'!$T$4:$T$7,0),MATCH(Main!$D$2,'2024'!$U$3:$BU$3,0))
=INDEX(INDIRECT("'" & A1 & "'!$U$4:$BU$7"),MATCH(C3,INDIRECT("'" & A1 & "'!$T$4:$T$7",0),MATCH(D2,INDIRECT("'" & A1 & "'!$U$3:$BU$3",0))))
#REF!
The '2024' is the sheet name which will increase each year but want to keep previous years.
=INDEX('2024'!$U$4:$BU$7,MATCH(Main!$C3,'2024'!$T$4:$T$7,0),MATCH(Main!$D$2,'2024'!$U$3:$BU$3,0))
=INDEX(INDIRECT("'" & A1 & "'!$U$4:$BU$7"),MATCH(C3,INDIRECT("'" & A1 & "'!$T$4:$T$7",0),MATCH(D2,INDIRECT("'" & A1 & "'!$U$3:$BU$3",0))))
#REF!