I have a really weird issue. In my file each sheet name is a 5 digit project number. On the sheet I have this formula to show the sheet name " =MID(CELL("filename",B3),FIND("]",CELL("filename",B3))+1,255) " . This displays correctly.
I have a Projects sheet that I have all the project numbers with the names of the projects next to them. What I am trying to do is do a vlookup from the sheet name in the cell and using the projects sheet as the range to give me the project name. It returns just an empty cell. I tried using text instead of a project number and it worked. But using numbers formatted as general or numbers does not work. I even tried =IFERROR(VLOOKUP(TEXT($B3, "#.#0"),'Projects'!A$2:$D$600,4,FALSE),"") and this does not work. Anyone no how to fix the format so a vlookup can recognize it ?
The reason I am going through this headache is I have a macro to add a new project. I put the number in the msg box and hit enter and it copies the template sheet and renames it with that project number. On the spreadsheet I have references to that project number to populate certain columns to cut down on the amount of hand entries for that code.
Hopefully someone can help me out with this.
I have a Projects sheet that I have all the project numbers with the names of the projects next to them. What I am trying to do is do a vlookup from the sheet name in the cell and using the projects sheet as the range to give me the project name. It returns just an empty cell. I tried using text instead of a project number and it worked. But using numbers formatted as general or numbers does not work. I even tried =IFERROR(VLOOKUP(TEXT($B3, "#.#0"),'Projects'!A$2:$D$600,4,FALSE),"") and this does not work. Anyone no how to fix the format so a vlookup can recognize it ?
The reason I am going through this headache is I have a macro to add a new project. I put the number in the msg box and hit enter and it copies the template sheet and renames it with that project number. On the spreadsheet I have references to that project number to populate certain columns to cut down on the amount of hand entries for that code.
Hopefully someone can help me out with this.