Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Chronological Numbering

I have 30 spreadsheets in one file, and would like to chronologicaly number
them (have a certain cell display the number of that spreadsheet). I don't
want to have to go to each spreadsheet and write a formula linking that
spreadsheet to the previous one. Is there a way to have the cell in each
spreadsheet look up the value of the same cell in the previous spreadsheet
and add 1, without having to do this manually on every single one?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Chronological Numbering

Group the sheets (click first tab, hold SHIFT, click last tab)
In cell of first sheet enter
=MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)
Now that cell will show "Sheet1", "Sheet2", ....
File must have been saved at least once before this works
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Chronological Numbering" m
wrote in message ...
I have 30 spreadsheets in one file, and would like to chronologicaly number
them (have a certain cell display the number of that spreadsheet). I don't
want to have to go to each spreadsheet and write a formula linking that
spreadsheet to the previous one. Is there a way to have the cell in each
spreadsheet look up the value of the same cell in the previous spreadsheet
and add 1, without having to do this manually on every single one?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Chronological Numbering

Bernard,

This seems to work fine. The problem, however, is that I have the tabs of
the spreadsheets labeled with different names. The values that I need in the
cell are simply a chronnological 1-30...

"Bernard Liengme" wrote:

Group the sheets (click first tab, hold SHIFT, click last tab)
In cell of first sheet enter
=MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)
Now that cell will show "Sheet1", "Sheet2", ....
File must have been saved at least once before this works
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Chronological Numbering" m
wrote in message ...
I have 30 spreadsheets in one file, and would like to chronologicaly number
them (have a certain cell display the number of that spreadsheet). I don't
want to have to go to each spreadsheet and write a formula linking that
spreadsheet to the previous one. Is there a way to have the cell in each
spreadsheet look up the value of the same cell in the previous spreadsheet
and add 1, without having to do this manually on every single one?

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Chronological Numbering

It will show the real sheet name, Bernard used Sheet1 etc as an example
using the built in sheet names

--


Regards,


Peo Sjoblom

"Chronological Numbering" m
wrote in message ...
Bernard,

This seems to work fine. The problem, however, is that I have the tabs of
the spreadsheets labeled with different names. The values that I need in
the
cell are simply a chronnological 1-30...

"Bernard Liengme" wrote:

Group the sheets (click first tab, hold SHIFT, click last tab)
In cell of first sheet enter
=MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)
Now that cell will show "Sheet1", "Sheet2", ....
File must have been saved at least once before this works
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Chronological Numbering"
m
wrote in message
...
I have 30 spreadsheets in one file, and would like to chronologicaly
number
them (have a certain cell display the number of that spreadsheet). I
don't
want to have to go to each spreadsheet and write a formula linking that
spreadsheet to the previous one. Is there a way to have the cell in
each
spreadsheet look up the value of the same cell in the previous
spreadsheet
and add 1, without having to do this manually on every single one?

Thanks






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Chronological Numbering

How about a macro?

Sub DoNumbering()
Dim mySh As Worksheet
For Each mySh In Worksheets
mySh.Range("A1").Value = mySh.Index
Next mySh
End Sub

HTH,
Bernie
MS Excel MVP


"Chronological Numbering" m wrote in message
...
I have 30 spreadsheets in one file, and would like to chronologicaly number
them (have a certain cell display the number of that spreadsheet). I don't
want to have to go to each spreadsheet and write a formula linking that
spreadsheet to the previous one. Is there a way to have the cell in each
spreadsheet look up the value of the same cell in the previous spreadsheet
and add 1, without having to do this manually on every single one?

Thanks



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 can I calculate chronological age in excel Mike New Excel Discussion (Misc queries) 7 April 25th 23 11:45 AM
How to share a workbook when entries are chronological? woody Excel Discussion (Misc queries) 0 October 25th 07 09:13 PM
PO with sequential numbering with start / end numbering [email protected] Excel Discussion (Misc queries) 1 April 24th 07 03:38 PM
Ability to arrange tabs in a worksheet in chronological order Amanda Excel Worksheet Functions 2 October 4th 06 04:32 PM
Numbering Lynne Excel Worksheet Functions 2 March 16th 05 06:38 PM


All times are GMT +1. The time now is 05:24 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"