Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default Autopopulate cell name with tab name

I have about 100 tabs each signifying a customer profile what I need now is
to automatically take the worksheet name (customer number) and give a cell
that name so cell 1A would have a name of 123456

The reason I need to do this is because I am using a template for all tabs
and as long as this one variable in the template changes to reflect the
customer number then each sheet will work independently when I do a full
update of all sheets.

Any suggestions?

Thanks in advance
--
Neall
--
Neall
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Autopopulate cell name with tab name

Do you mean to return sheetname. Try this formula in A1

=REPLACE(CELL("Filename"),1,FIND("]",CELL("filename")),"")

If this post helps click Yes
---------------
Jacob Skaria


"Neall" wrote:

I have about 100 tabs each signifying a customer profile what I need now is
to automatically take the worksheet name (customer number) and give a cell
that name so cell 1A would have a name of 123456

The reason I need to do this is because I am using a template for all tabs
and as long as this one variable in the template changes to reflect the
customer number then each sheet will work independently when I do a full
update of all sheets.

Any suggestions?

Thanks in advance
--
Neall
--
Neall

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Autopopulate cell name with tab name

Hi,

Try:

=MID(CELL("Filename"),FIND("]",CELL("Filename"))+1,31)

or shorten Jacob's suggestion to

=REPLACE(CELL("Filename"),1,FIND("]",CELL("filename")),)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Neall" wrote:

I have about 100 tabs each signifying a customer profile what I need now is
to automatically take the worksheet name (customer number) and give a cell
that name so cell 1A would have a name of 123456

The reason I need to do this is because I am using a template for all tabs
and as long as this one variable in the template changes to reflect the
customer number then each sheet will work independently when I do a full
update of all sheets.

Any suggestions?

Thanks in advance
--
Neall
--
Neall

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Autopopulate cell name with tab name

Hi,

Go to insert Name Define and type a name there, say "names" (w/o
quotes). In the refers to box, type =GET.WORKBOOK(1).

Now in cell C5, type the following formula and copy down

=MID(INDEX(names,,ROW()-ROW($C$4)+1),SEARCH("]",INDEX(names,,ROW()-ROW($C$4)+1),1)+1,LEN(INDEX(names,,ROW()-ROW($C$4)+1))-SEARCH("]",INDEX(names,,ROW()-ROW($C$4)+1),1))&T(NOW())

If you starting cell reference is something else, say G6, then change the
row($C$4) to row($G$5)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Neall" wrote in message
...
I have about 100 tabs each signifying a customer profile what I need now
is
to automatically take the worksheet name (customer number) and give a cell
that name so cell 1A would have a name of 123456

The reason I need to do this is because I am using a template for all tabs
and as long as this one variable in the template changes to reflect the
customer number then each sheet will work independently when I do a full
update of all sheets.

Any suggestions?

Thanks in advance
--
Neall
--
Neall


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Autopopulate cell name with tab name

Must have a cell reference included or each sheet will have same name
returned.

=REPLACE(CELL("Filename",A1),1,FIND("]",CELL("filename",A1)),)


Gord Dibben MS Excel MVP

On Fri, 5 Jun 2009 11:10:07 -0700, Shane Devenshire
wrote:

Hi,

Try:

=MID(CELL("Filename"),FIND("]",CELL("Filename"))+1,31)

or shorten Jacob's suggestion to

=REPLACE(CELL("Filename"),1,FIND("]",CELL("filename")),)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to autopopulate a cell using a formula ABBY Excel Discussion (Misc queries) 10 March 14th 09 01:03 PM
Autopopulate cmulvey Excel Discussion (Misc queries) 2 August 11th 08 10:57 PM
Autopopulate with zero roy.okinawa Excel Worksheet Functions 3 December 14th 05 01:11 AM
autopopulate sl.no.based on a cell value TUNGANA KURMA RAJU Excel Discussion (Misc queries) 3 October 21st 05 07:44 AM
autopopulate date [email protected] Excel Discussion (Misc queries) 8 October 6th 05 03:29 PM


All times are GMT +1. The time now is 10:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"