Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rhythm_man
 
Posts: n/a
Default Fixed cell references

I want to create a form for purchase requisitions that is a spreadsheet
(using Excel 97) with 4 work sheets.

The first sheet is where the data will be entered, one row per item to be
purchased.
The other sheets will be fully formatted for printing/faxing and will
include company logo, delivery information, order numbers etc.

What I want to do is for the formatted sheets to reference various ranges of
the data entered on the first sheet.
i.e. the first formatted sheet references the data in worksheet1 cells A1:C20.
The second formatted sheet references the data in worksheet 1 cells A21:C40
and similarly for the 3rd formatted sheet, cells A41:C60.

I'd like the users to be able to cut/copy/paste cells around on the data
sheet (worksheet1), or even insert new rows, and for these changes to be
reflected in the formatted sheets
i.e. if a user moves an item 3 rows down on the data sheet by
cutting/pasting the cells, then it will also appear 3 rows lower down on the
relevant formatted sheet. If the change made the row change from row 19 to
row 22, then this item would now appear on the second formatted sheet,
instead of the first.

Neither relative nor absolute cell references seem to achieve this.
e.g. if a new row is inserted on the data sheet, these new cells were never
originally refernced on any of the formatted sheets and so do not appear
there now.
Is there another function, or some other technique for achieving this?

TIA
John
  #2   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

This might work.

In the cell A1 of Sheet 2 enter the formula,
=OFFSET(Sheet1!$A$1,ROW(A1)-1,COLUMN(A1)-1)
and fill-down the formula in A1-C20
For the sheets that follow (i.e., Sheet 3, 4, .....) the formula in A1 is
similar with a minor modification (with increments of 20 on the right hand
side of 'ROW(A1)+'.
=OFFSET(Sheet1!$A$1,ROW(A1)+19,COLUMN(A1)-1)
=OFFSET(Sheet1!$A$1,ROW(A1)+39,COLUMN(A1)-1)
=OFFSET(Sheet1!$A$1,ROW(A1)+59,COLUMN(A1)-1)
etc., etc.
One caveat is, you have to format the sheets after you fill in these formulas.

Regards.
B. R. Ramachandran


"rhythm_man" wrote:

I want to create a form for purchase requisitions that is a spreadsheet
(using Excel 97) with 4 work sheets.

The first sheet is where the data will be entered, one row per item to be
purchased.
The other sheets will be fully formatted for printing/faxing and will
include company logo, delivery information, order numbers etc.

What I want to do is for the formatted sheets to reference various ranges of
the data entered on the first sheet.
i.e. the first formatted sheet references the data in worksheet1 cells A1:C20.
The second formatted sheet references the data in worksheet 1 cells A21:C40
and similarly for the 3rd formatted sheet, cells A41:C60.

I'd like the users to be able to cut/copy/paste cells around on the data
sheet (worksheet1), or even insert new rows, and for these changes to be
reflected in the formatted sheets
i.e. if a user moves an item 3 rows down on the data sheet by
cutting/pasting the cells, then it will also appear 3 rows lower down on the
relevant formatted sheet. If the change made the row change from row 19 to
row 22, then this item would now appear on the second formatted sheet,
instead of the first.

Neither relative nor absolute cell references seem to achieve this.
e.g. if a new row is inserted on the data sheet, these new cells were never
originally refernced on any of the formatted sheets and so do not appear
there now.
Is there another function, or some other technique for achieving this?

TIA
John

  #3   Report Post  
rhythm_man
 
Posts: n/a
Default

Thanks very much for that....seems to do the trick!

regards,
J. Harland

"B. R.Ramachandran" wrote:

Hi,

This might work.

In the cell A1 of Sheet 2 enter the formula,
=OFFSET(Sheet1!$A$1,ROW(A1)-1,COLUMN(A1)-1)
and fill-down the formula in A1-C20
For the sheets that follow (i.e., Sheet 3, 4, .....) the formula in A1 is
similar with a minor modification (with increments of 20 on the right hand
side of 'ROW(A1)+'.
=OFFSET(Sheet1!$A$1,ROW(A1)+19,COLUMN(A1)-1)
=OFFSET(Sheet1!$A$1,ROW(A1)+39,COLUMN(A1)-1)
=OFFSET(Sheet1!$A$1,ROW(A1)+59,COLUMN(A1)-1)
etc., etc.
One caveat is, you have to format the sheets after you fill in these formulas.

Regards.
B. R. Ramachandran


"rhythm_man" wrote:

I want to create a form for purchase requisitions that is a spreadsheet
(using Excel 97) with 4 work sheets.

The first sheet is where the data will be entered, one row per item to be
purchased.
The other sheets will be fully formatted for printing/faxing and will
include company logo, delivery information, order numbers etc.

What I want to do is for the formatted sheets to reference various ranges of
the data entered on the first sheet.
i.e. the first formatted sheet references the data in worksheet1 cells A1:C20.
The second formatted sheet references the data in worksheet 1 cells A21:C40
and similarly for the 3rd formatted sheet, cells A41:C60.

I'd like the users to be able to cut/copy/paste cells around on the data
sheet (worksheet1), or even insert new rows, and for these changes to be
reflected in the formatted sheets
i.e. if a user moves an item 3 rows down on the data sheet by
cutting/pasting the cells, then it will also appear 3 rows lower down on the
relevant formatted sheet. If the change made the row change from row 19 to
row 22, then this item would now appear on the second formatted sheet,
instead of the first.

Neither relative nor absolute cell references seem to achieve this.
e.g. if a new row is inserted on the data sheet, these new cells were never
originally refernced on any of the formatted sheets and so do not appear
there now.
Is there another function, or some other technique for achieving this?

TIA
John

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
Changing cell references automatically Bigweed New Users to Excel 3 April 28th 05 12:27 PM
Transpose-relative cell references would be useful. carlmanaster Excel Worksheet Functions 7 March 15th 05 01:04 AM
finding all references to a cell Brett Excel Discussion (Misc queries) 1 March 7th 05 01:25 PM
Sheet Names and Cell References Reed Excel Worksheet Functions 1 January 19th 05 10:17 PM
Cell References in Functiona Mark T. Excel Worksheet Functions 1 December 11th 04 06:49 PM


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

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"