Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi I would like a formula in a cell where I can show the sheet name.
For example ="2008 "&"Sheetname" Anybody who knows? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this...
="2008 " & RIGHT(CELL("Filename"),LEN(CELL("Filename"))-FIND("]",CELL("Filename"))) The workbook must have been saved at least once for this to work. Hope this helps, Hutch "FreddieP" wrote: Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
="2008 "&MID(CELL("filename"),FIND("]",CELL("filename"),1)+1,256)
hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "FreddieP" escreveu: Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
="2008 "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)
A1 can be replaced by any cell reference even the cell that holds the formula -- Regards, Peo Sjoblom "FreddieP" wrote in message ... Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That is not correct, you need to include a cell reference or else it will
switch sheet names to the active sheet once the workbook is saved again. -- Regards, Peo Sjoblom "Tom Hutchins" wrote in message ... Try this... ="2008 " & RIGHT(CELL("Filename"),LEN(CELL("Filename"))-FIND("]",CELL("Filename"))) The workbook must have been saved at least once for this to work. Hope this helps, Hutch "FreddieP" wrote: Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I dont get it to work. And also I think that this will return the name of the
file. I want it to return the name of a specific sheet within the file. Peo, could you perhaps write the formula in Swedish which I guess you are when I see your name :) /Freddie "Peo Sjoblom" wrote: ="2008 "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32) A1 can be replaced by any cell reference even the cell that holds the formula -- Regards, Peo Sjoblom "FreddieP" wrote in message ... Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am Swedish but I don't have a Swedish Excel installed on the computer I am
at the moment, The formula would be ="2008 "&EXTEXT(CELL("filename";A1);HITTA("]";CELL("filename";A1))+1;32) in Swedish except that I don't remember if "filename" is changed to a Swedish equivalent? If you go to help and lookup the CELL function, what options are there, if there is no "filename" replace it with whatever the help example is using -- Regards, Peo Sjoblom "FreddieP" wrote in message ... I dont get it to work. And also I think that this will return the name of the file. I want it to return the name of a specific sheet within the file. Peo, could you perhaps write the formula in Swedish which I guess you are when I see your name :) /Freddie "Peo Sjoblom" wrote: ="2008 "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32) A1 can be replaced by any cell reference even the cell that holds the formula -- Regards, Peo Sjoblom "FreddieP" wrote in message ... Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Freddie.
It works as Peo has written it. I get 2008 Sheet1 when I enter the formula in any cell in Sheet1 Gord Dibben MS Excel MVP On Fri, 16 May 2008 07:40:01 -0700, FreddieP wrote: I dont get it to work. And also I think that this will return the name of the file. I want it to return the name of a specific sheet within the file. Peo, could you perhaps write the formula in Swedish which I guess you are when I see your name :) /Freddie "Peo Sjoblom" wrote: ="2008 "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32) A1 can be replaced by any cell reference even the cell that holds the formula -- Regards, Peo Sjoblom "FreddieP" wrote in message ... Hi I would like a formula in a cell where I can show the sheet name. For example ="2008 "&"Sheetname" Anybody who knows? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
write formula that icludes data from sheet 1 to sheet 2 of my spr | Excel Worksheet Functions | |||
Can I annotate a formula result in Sheet 1 in Sheet 2 by Cell Addr | Excel Worksheet Functions | |||
create a formula in one sheet that would read data from separate sheet automatically | Excel Discussion (Misc queries) | |||
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 | Excel Worksheet Functions | |||
Lookup cell contents in on sheet based on a formula in second sheet | Excel Worksheet Functions |