#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default Successive numbers

I have a cell that says "Sheet 1 of 24". The cell underneath that says
"Sheet 2 of 24" and so on. Does anyone know a formula that can be dragged
down that will update the next cell in succession for the rest of the sheets?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Successive numbers

Custom format using Format--Cells, Choose Custom on the Number tab, then
type this into the box at right:
"Sheet" # "of 24"
Type in the first 3 (1,2,3), select them, and drag down.

Hope it helps!
--
~Anne Troy
www.OfficeArticles.com


"Erin" wrote:

I have a cell that says "Sheet 1 of 24". The cell underneath that says
"Sheet 2 of 24" and so on. Does anyone know a formula that can be dragged
down that will update the next cell in succession for the rest of the sheets?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Successive numbers

This involves a little math, but at a simple level.

Assuming your cell with "Sheet 1 of 24" is in it is in row one, no math
involved. Put this formula in its place:
="Sheet " & Row() & " of 24"
but if it starts further down the sheet, then you have to do a little math:
Row() returns the row number of what ever row it shows up in, so for row 1 it
returns 1, row 2; returns 2, etc. Lets say your entries start down at row 5,
then the formula becomes:
="Sheet " & Row()-4 & " of 24"
fiill down the sheet as far as makes sense.


"Erin" wrote:

I have a cell that says "Sheet 1 of 24". The cell underneath that says
"Sheet 2 of 24" and so on. Does anyone know a formula that can be dragged
down that will update the next cell in succession for the rest of the sheets?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Successive numbers

="Sheet "&ROW(A1)&" of 24"
--
David Biddulph

"Erin" wrote in message
...
I have a cell that says "Sheet 1 of 24". The cell underneath that says
"Sheet 2 of 24" and so on. Does anyone know a formula that can be dragged
down that will update the next cell in succession for the rest of the
sheets?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Successive numbers

Erin

In A1 enter this and drag down to A24

="Sheet " & ROW() & " of 24"


Gord Dibben MS Excel MVP

On Thu, 15 Mar 2007 13:25:28 -0700, Erin wrote:

I have a cell that says "Sheet 1 of 24". The cell underneath that says
"Sheet 2 of 24" and so on. Does anyone know a formula that can be dragged
down that will update the next cell in succession for the rest of the sheets?




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
Pasting in successive cells Bob Excel Discussion (Misc queries) 6 January 3rd 07 03:10 AM
I am not able to extend formulas to successive rows jrich15322 Excel Worksheet Functions 4 October 16th 06 01:43 PM
formula to apply concatenation to successive rows of data Devo Excel Worksheet Functions 2 July 24th 06 05:42 PM
Recalc needed for successive years Mr Warwick Excel Discussion (Misc queries) 1 March 22nd 06 01:06 PM
Is there a limit to number of successive IF-THEN statements? bufossil Excel Discussion (Misc queries) 11 December 1st 05 06:48 PM


All times are GMT +1. The time now is 04:36 AM.

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

About Us

"It's about Microsoft Excel"