Function to add name of Sheet to a Column?

  • Thread starter Thread starter msnyc07
  • Start date Start date
M

msnyc07

I am preparing to merge sheets in a workbook, before I do I need to find a
way to pull the sheet name into ColumnX so once merged I will retain the
categorization.

Is there a simple formula I can paste/fill-down into a column to do this?

Thanks in advance
 
Make sure the workbook has been saved (otherwise function won't work):
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,999)

Copy down as needed.
 
Back
Top