Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How to increment page number in a cell of worksheet

I have a problem regarding page numbers in a worksheet. The position of page
number in the cell is such that page number cannot be provided through header
or footer.

Can you guide me about how can I increment page numbers in a cell.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default How to increment page number in a cell of worksheet

This is a very unreliable workaround.
Declare col. "A" to be an Helper-Column.
In Cell A1 type the following formula and copy down to the end of your data.
Col. A Cells should, now, present the page number.
Pull out one of each, in a "page", to another column in order to present the
page number.
You may fine-tune, the formula, by slightly changing the 55
*** Hide column "A" ***
=IF(MOD(CELL("row",B1),55)=0,CELL("row",B1)/55,INT(CELL("row",B1)/55)+1)
Micky


"Zubair" wrote:

I have a problem regarding page numbers in a worksheet. The position of page
number in the cell is such that page number cannot be provided through header
or footer.

Can you guide me about how can I increment page numbers in a cell.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How to increment page number in a cell of worksheet

My worksheet is such that there is a panel in the top, that contains a cell
in the right in cell "BY3". Page number is incrementing during printing as
the panel is fixed and the worksheet is going on to page 1, 2, 3......

"מיכאל (מיקי) אבידן" wrote:

This is a very unreliable workaround.
Declare col. "A" to be an Helper-Column.
In Cell A1 type the following formula and copy down to the end of your data.
Col. A Cells should, now, present the page number.
Pull out one of each, in a "page", to another column in order to present the
page number.
You may fine-tune, the formula, by slightly changing the 55
*** Hide column "A" ***
=IF(MOD(CELL("row",B1),55)=0,CELL("row",B1)/55,INT(CELL("row",B1)/55)+1)
Micky


"Zubair" wrote:

I have a problem regarding page numbers in a worksheet. The position of page
number in the cell is such that page number cannot be provided through header
or footer.

Can you guide me about how can I increment page numbers in a cell.

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
Formula to Increment a number upon a match in an adjacent cell Nolene Excel Worksheet Functions 9 October 2nd 09 10:04 PM
Increment a number in a cell for each page printed Steve Vincent Excel Discussion (Misc queries) 6 June 19th 06 11:12 PM
number cell increment +1 when dragging down box Johnny Cake Excel Worksheet Functions 4 August 18th 05 07:29 PM
how to auto increment a number each time i open the worksheet fred rondak Excel Worksheet Functions 1 June 25th 05 11:40 PM
How do I automatically increment worksheet number when pasting a . Mr Keldor Excel Worksheet Functions 1 April 21st 05 06:06 PM


All times are GMT +1. The time now is 07:05 PM.

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"