I am trying to figure out a way to change the name of a month within a file name. Currently I am using "find and replace" but this can be cumbersome when using large amounts of data. As an example here is a sample of a formula I currently use:
'=SUMPRODUCT(--('M:Aged Care2004 Accounts2011 Accounts[PAC Report June 2011.xlsm]Working'!B:B=B5),'M:Aged Care2004 Accounts2011 Accounts[PAC Report June 2011.xlsm]Working'!F:F)-SUMPRODUCT(--('M:Aged Care2004 Accounts2011 Accounts[PAC Report May 2011.xlsm]Working'!B:B=B5),'M:Aged Care2004 Accounts2011 Accounts[PAC Report May 2011.xlsm]Working'!F:F)'
Is there a way to automatically change June to July and May to June? I thought of using 'Indirect' but this will not work unless the other file is open.I have looked around for an answer but I think it might be my wording of the question that is hindering me as well.
'=SUMPRODUCT(--('M:Aged Care2004 Accounts2011 Accounts[PAC Report June 2011.xlsm]Working'!B:B=B5),'M:Aged Care2004 Accounts2011 Accounts[PAC Report June 2011.xlsm]Working'!F:F)-SUMPRODUCT(--('M:Aged Care2004 Accounts2011 Accounts[PAC Report May 2011.xlsm]Working'!B:B=B5),'M:Aged Care2004 Accounts2011 Accounts[PAC Report May 2011.xlsm]Working'!F:F)'
Is there a way to automatically change June to July and May to June? I thought of using 'Indirect' but this will not work unless the other file is open.I have looked around for an answer but I think it might be my wording of the question that is hindering me as well.