Hi,
I have a drop down list defined in a sheet called 'List Box' which lists all the months Jan-Dec.
I am referencing it in the main sheet as part of cell. I am wanting to return a number for the value selected for example 'March' returns a value of 03 when referenced in a function.
This is the code I am currently using as a function
So I am wanting 'P&L'!C$5&"" to pull the March value as 03
Many Thanks
I have a drop down list defined in a sheet called 'List Box' which lists all the months Jan-Dec.
I am referencing it in the main sheet as part of cell. I am wanting to return a number for the value selected for example 'March' returns a value of 03 when referenced in a function.
This is the code I am currently using as a function
Code:
=-GETPIVOTDATA("journal_amount",'Pivot Table'!$A$3,"nlyear", 'P&L'!C$5&"","trans_period",'P&L'!C$4&"","account_code",'P&L'!$C10&"")
So I am wanting 'P&L'!C$5&"" to pull the March value as 03
Many Thanks