PeterDavids
New Member
- Joined
- Apr 18, 2013
- Messages
- 21
- Office Version
- 2019
- Platform
- Windows
Hi All
I am trying to use the index match function in a formula in Sheet "Account Tracker" to return the opening balance contained in another tab, "ABSA 0860" of my workbook.
I want the sheet tab to be dynamic in my formula.
The formula is in a sheet named "Account Tracker" where the formula is "=INDEX(INDIRECT("'"&$A4&"'!$B$5:$B$5000"),MATCH(C$1,INDIRECT("'"&$A4&"'!$A$5:$A$5000"),0))"
The formula results in an error. (#REF!)
KEY OF THE FORMULA:
Cell: A4 = Tab name of the target sheet in Account Tracker Sheet, eg. ABSA 0860
Range B5:B5000 = Opening Balances in tab ABSA 0860
Cell C1 = Target date in Account Tracker Sheet
Range A5:A5000 = Date in tab ABSA 0860
Any help in correcting the formula will be appreciated.
Thanks
Peter
I am trying to use the index match function in a formula in Sheet "Account Tracker" to return the opening balance contained in another tab, "ABSA 0860" of my workbook.
I want the sheet tab to be dynamic in my formula.
The formula is in a sheet named "Account Tracker" where the formula is "=INDEX(INDIRECT("'"&$A4&"'!$B$5:$B$5000"),MATCH(C$1,INDIRECT("'"&$A4&"'!$A$5:$A$5000"),0))"
The formula results in an error. (#REF!)
KEY OF THE FORMULA:
Cell: A4 = Tab name of the target sheet in Account Tracker Sheet, eg. ABSA 0860
Range B5:B5000 = Opening Balances in tab ABSA 0860
Cell C1 = Target date in Account Tracker Sheet
Range A5:A5000 = Date in tab ABSA 0860
Any help in correcting the formula will be appreciated.
Thanks
Peter