Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
<o></o>
In Sheet 01, cell C58 holds the month (as text), D58 holds the day number (as extracted from sheet name), and E58 holds the year (as number). I have other cells on this sheet that reference these three cells and combine them into one usable date. All other sheets named 02 through 31 reference these cells in simple fashion like:<o></o>
<o></o>
C58 ='01'!$C$58 for month; D58 ='01'!$D$58 for month and E58 ='01'!$E$58 for year.<o></o>
<o></o>
Now I would like to be able to modify to be able to use another sheet with similar setup in case Sheet 01 is deleted. I would like the cells on worksheets 02 through 31 to have the ability to point to a different worksheet with a name like JUL 10 SUM having in cells C102, D102 and E102 set up similar to Sheet 02.
<o></o>
<o></o>
Normally I would do ='JUL 10 SUM'!C102 which would grab the month (i.e, JULY) and ='JUL 10 SUM'!D102 would grab the day, ='JUL 10 SUM'!E102 for the year. The problem is when I work on a new month or year worksheet, I rename the tab from JUL 10 SUM to AUG 10 SUM or JAN 11 SUM depending on the month from which the data is collected. So I need a way to have the formula in Sheet 02 through 31 be able to adjust it's reference pointing back to JUL 10 SUM worksheet.
<o></o>
<o></o>
So in Sheet 02 I want go from:<o></o>
<o></o>
='01'!$C$58<o></o>
<o></o>
To something like this:<o></o>
<o></o>
=IF(ISERROR('01'!$C$58),INDIRECT("'JUL 10 SUM'!$C$102"),'01'!$C$58) and do the same for the day and year.<o></o>
<o></o>
However, I need the JUL 10 to be able to change to AUG 10 SUM etc and have the formula adjust automatically to the new name.<o></o>
<o></o>
I thought about just capturing the worksheet name in C107 of the JUL 10 SUM worksheet using:
<o></o>
<o></o>
<o>
</o>
<o></o>
and then on Sheet 02 cell C65, reference C107 which shows up as ='JUL 10 SUM'!C107, now I need to isolate the JUL 10 SUM portion but I can't seem to extract the text between the apostrophes to isolate only the worksheet name.
<o></o>
<o></o>
I tried this formula but it results in blank.
<o></o>
<o></o>
<o>
</o>
<o></o>
Once isolated I wanted to test to see if =INDIRECT("'"&C65&"'!"&C102) would work.
<o></o>
<o></o>
I need help isolating the sheet name to use in the INDIRECT portion.<o></o>
<o></o>
<o></o>
In Sheet 01, cell C58 holds the month (as text), D58 holds the day number (as extracted from sheet name), and E58 holds the year (as number). I have other cells on this sheet that reference these three cells and combine them into one usable date. All other sheets named 02 through 31 reference these cells in simple fashion like:<o></o>
<o></o>
C58 ='01'!$C$58 for month; D58 ='01'!$D$58 for month and E58 ='01'!$E$58 for year.<o></o>
<o></o>
Now I would like to be able to modify to be able to use another sheet with similar setup in case Sheet 01 is deleted. I would like the cells on worksheets 02 through 31 to have the ability to point to a different worksheet with a name like JUL 10 SUM having in cells C102, D102 and E102 set up similar to Sheet 02.
<o></o>
<o></o>
Normally I would do ='JUL 10 SUM'!C102 which would grab the month (i.e, JULY) and ='JUL 10 SUM'!D102 would grab the day, ='JUL 10 SUM'!E102 for the year. The problem is when I work on a new month or year worksheet, I rename the tab from JUL 10 SUM to AUG 10 SUM or JAN 11 SUM depending on the month from which the data is collected. So I need a way to have the formula in Sheet 02 through 31 be able to adjust it's reference pointing back to JUL 10 SUM worksheet.
<o></o>
<o></o>
So in Sheet 02 I want go from:<o></o>
<o></o>
='01'!$C$58<o></o>
<o></o>
To something like this:<o></o>
<o></o>
=IF(ISERROR('01'!$C$58),INDIRECT("'JUL 10 SUM'!$C$102"),'01'!$C$58) and do the same for the day and year.<o></o>
<o></o>
However, I need the JUL 10 to be able to change to AUG 10 SUM etc and have the formula adjust automatically to the new name.<o></o>
<o></o>
I thought about just capturing the worksheet name in C107 of the JUL 10 SUM worksheet using:
<o></o>
<o></o>
<o>
Code:
[COLOR=black][FONT=Verdana]=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)<o:p></o:p>[/FONT][/COLOR]
<o></o>
and then on Sheet 02 cell C65, reference C107 which shows up as ='JUL 10 SUM'!C107, now I need to isolate the JUL 10 SUM portion but I can't seem to extract the text between the apostrophes to isolate only the worksheet name.
<o></o>
<o></o>
I tried this formula but it results in blank.
<o></o>
<o></o>
<o>
Code:
[COLOR=black][FONT=Verdana]=IF(ISERROR(FIND("'",C65)),"",IF(ISERROR(FIND("'",C65)),"",LEFT(RIGHT(C65,LEN(C65)-FIND("'",C65)),FIND("'",RIGHT(C65,LEN(C65)-FIND("'",C65)))-1)))<o:p></o:p>[/FONT][/COLOR]
<o></o>
Once isolated I wanted to test to see if =INDIRECT("'"&C65&"'!"&C102) would work.
<o></o>
<o></o>
I need help isolating the sheet name to use in the INDIRECT portion.<o></o>