=RIGHT(CELL("filename",$A$1),LEN(CELL("filename"))-FIND("]",CELL("filename")))
=RIGHT(CELL("filename",$A$1),6)
Since a sheet name is limited to no more than 31 characters:Hi
I am looking for a function to return the sheet name...in other words if sheetname = 7X OR 7Y OR bla bla bla then vlookup....
Hi
I am looking for a function to return the sheet name...in other words if sheetname = 7X OR 7Y OR bla bla bla then vlookup....
Hi markmzz & mark5767
Thank you very much both these function works very well
Hi Aladin Akyurek
Can you please explain your second fuction VLOOKUP(LookupValue,INDIRECT("'"&I1&"'!A1:C12"),2,0)
...sorry my knowledge of Excel functions is not very good. I am currently using this function
VLOOKUP('week 1 - ROW ALLOCATION'!A5,'7x'!$DH$3:$DY$2912,18,0))
but the LookupValue '7x'!(which is variable) needs to be looked for between about 15 other sheets.
I hope this explains it better