Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Michael Link
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

Hey everyone:

I have a workbook with 8 sheets. Cells A1:A400 need to be identical on each
sheet. On sheets 2 through 8, I use =Sheet 1!AX (where X is the row number)
to pick up the info from the corresponding cell on Sheet 1 so I only need to
enter changes once.

I sometimes need to add rows. However, the cells in column A still need to
correspond across sheets. On Sheet 1, I select the place where a row needs to
insert and then select all sheets so that the row I insert goes in on all
sheets.

The problem is, the new row is blank, and on sheets 2 through 8 I have to do
an autofill from the row above to get the pick-up formula into the new
row. This is easy, I know, but is there a way to get the row inserted on
sheets 2-8 to have the =Sheet 1!AX formula already in place? There have
been many instances where users forget to do the autofill or do it
incorrectly (!), with the result that things get out of sync in the workbook.
Besides, we often have workbooks with many more sheets, so that even doing
autofill on each sheet can be slow.

Please please please help! Is there maybe a macro that will do this? (I can
always hook it up to a button on sheet 1 so users can just click it and go.)

M. Link

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

One way which might suffice ..

Group Sheets 2 - 8,
then in Sheet2,
put in A1: =OFFSET(Sheet1!$A$1,ROW()-1,)
and copy A1 to say, A450*,
to cover the max expected extent in the "master" Sheet1
Ungroup Sheets 2 - 8

*an additional 50 rows buffer

A1:A450 in Sheets 2 to 8 will always point to A1:A450 in Sheet1
This will cater for new row insertions which may be made
within Sheet1's "original" rows 1 - 400
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Michael Link" wrote in message
...
Hey everyone:

I have a workbook with 8 sheets. Cells A1:A400 need to be identical on

each
sheet. On sheets 2 through 8, I use ='Sheet 1'!AX (where X is the row

number)
to pick up the info from the corresponding cell on Sheet 1 so I only need

to
enter changes once.

I sometimes need to add rows. However, the cells in column A still need to
correspond across sheets. On Sheet 1, I select the place where a row needs

to
insert and then select all sheets so that the row I insert goes in on all
sheets.

The problem is, the new row is blank, and on sheets 2 through 8 I have to

do
an autofill from the row above to get the "pick-up" formula into the new
row. This is easy, I know, but is there a way to get the row inserted on
sheets 2-8 to have the ='Sheet 1'!AX formula already in place? There have
been many instances where users forget to do the autofill or do it
incorrectly (!), with the result that things get out of sync in the

workbook.
Besides, we often have workbooks with many more sheets, so that even doing
autofill on each sheet can be slow.

Please please please help! Is there maybe a macro that will do this? (I

can
always hook it up to a button on sheet 1 so users can just click it and

go.)

M. Link



  #3   Report Post  
Posted to microsoft.public.excel.misc
Michael Link
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

Thanks for the fast reply!

Actually, the rows in the master sheet that i want to 'carry over" are
A8:A400. (I forgot that I have a number of hidden rows at the top that don't
figure in what I need to do.)

I've tried modifying the formula you so nicely gave me like this:

=OFFSET(Sheet1!$A$8,ROW()-1,)

But it just returns a zero value. Am I missing something? I'm not familiar
with OFFSET, so I'm not sure how else to modify it, and the discussion of the
syntax in the help box is kind of confusing.




"Michael Link" wrote:

Hey everyone:

I have a workbook with 8 sheets. Cells A1:A400 need to be identical on each
sheet. On sheets 2 through 8, I use =Sheet 1!AX (where X is the row number)
to pick up the info from the corresponding cell on Sheet 1 so I only need to
enter changes once.

I sometimes need to add rows. However, the cells in column A still need to
correspond across sheets. On Sheet 1, I select the place where a row needs to
insert and then select all sheets so that the row I insert goes in on all
sheets.

The problem is, the new row is blank, and on sheets 2 through 8 I have to do
an autofill from the row above to get the pick-up formula into the new
row. This is easy, I know, but is there a way to get the row inserted on
sheets 2-8 to have the =Sheet 1!AX formula already in place? There have
been many instances where users forget to do the autofill or do it
incorrectly (!), with the result that things get out of sync in the workbook.
Besides, we often have workbooks with many more sheets, so that even doing
autofill on each sheet can be slow.

Please please please help! Is there maybe a macro that will do this? (I can
always hook it up to a button on sheet 1 so users can just click it and go.)

M. Link

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

=OFFSET(Sheet1!$A$8,ROW()-1,)

The amendment looks ok to me.

I presume the above is entered into cell A1 in Sheets 2 - 8, and copied down
to A450 as per suggested steps earlier, with sheets grouped? (The formulas
are sensitive to the cells they are in)

If the starting cell is *not* cell A1 in Sheets 2 - 8,
put instead this slight revision in the starting cell:
=OFFSET(Sheet1!$A$8,ROWS($A$1:A1)-1,)
and then copy down by 450 rows as before,
with sheets grouped

Ensure also that calc mode is set to auto.
Check via clicking:
Tools Options Calc tab Auto OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Michael Link" wrote in message
...
Thanks for the fast reply!

Actually, the rows in the master sheet that i want to 'carry over" are
A8:A400. (I forgot that I have a number of hidden rows at the top that

don't
figure in what I need to do.)

I've tried modifying the formula you so nicely gave me like this:

=OFFSET(Sheet1!$A$8,ROW()-1,)

But it just returns a zero value. Am I missing something? I'm not familiar
with OFFSET, so I'm not sure how else to modify it, and the discussion of

the
syntax in the help box is kind of confusing.



  #5   Report Post  
Posted to microsoft.public.excel.misc
Michael Link
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

Thanks again for the response. I must be pretty dense, though, because when
rows insert across all of the grouped sheets, they continue to have no
formulas in them, and hence don't carry the stuff from the "master sheet"
forward. Your revision of the formula does carry info forward iin existing
rows, and that's great, but inserted rows on subsequent sheets are still
goiing in totally blank (with no formulas).

Hmm. I'm beginning to think it might just be easier to continue to be the
point person for all revisions to this thing. If I make it look mystical
enough they'll never fire me because no one else will know how to do it. Job
seciurity.

"Max" wrote:

=OFFSET(Sheet1!$A$8,ROW()-1,)


The amendment looks ok to me.

I presume the above is entered into cell A1 in Sheets 2 - 8, and copied down
to A450 as per suggested steps earlier, with sheets grouped? (The formulas
are sensitive to the cells they are in)

If the starting cell is *not* cell A1 in Sheets 2 - 8,
put instead this slight revision in the starting cell:
=OFFSET(Sheet1!$A$8,ROWS($A$1:A1)-1,)
and then copy down by 450 rows as before,
with sheets grouped

Ensure also that calc mode is set to auto.
Check via clicking:
Tools Options Calc tab Auto OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Michael Link" wrote in message
...
Thanks for the fast reply!

Actually, the rows in the master sheet that i want to 'carry over" are
A8:A400. (I forgot that I have a number of hidden rows at the top that

don't
figure in what I need to do.)

I've tried modifying the formula you so nicely gave me like this:

=OFFSET(Sheet1!$A$8,ROW()-1,)

But it just returns a zero value. Am I missing something? I'm not familiar
with OFFSET, so I'm not sure how else to modify it, and the discussion of

the
syntax in the help box is kind of confusing.






  #6   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default insert Rows with Formulas in Place on Multiple Sheets?

My fault, sorry. Think I missed this bit about
.. rows insert across all of the grouped sheets

earlier in your original post

(I had interp'd/read it wrongly that the row insertions
were going to be made on just Sheet1)

perhaps you might want to browse this response
to a similar query:

http://tinyurl.com/mt3pp

(the 2 "barebones" subs InsertRow and DeleteRow
seem to work ok for the OP over there, going by his reply <g)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Michael Link" wrote in message
...
Thanks again for the response. I must be pretty dense, though, because

when
rows insert across all of the grouped sheets, they continue to have no
formulas in them, and hence don't carry the stuff from the "master sheet"
forward. Your revision of the formula does carry info forward iin existing
rows, and that's great, but inserted rows on subsequent sheets are still
goiing in totally blank (with no formulas).

Hmm. I'm beginning to think it might just be easier to continue to be the
point person for all revisions to this thing. If I make it look mystical
enough they'll never fire me because no one else will know how to do it.

Job
seciurity.



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
insert or delete rows across multiple worksheets? BobW Excel Discussion (Misc queries) 1 February 16th 06 05:02 PM
how do you add formulas on multiple excel sheets undercoverangeltn Excel Discussion (Misc queries) 1 February 13th 06 04:11 PM
Inserting Multiple Rows Mike Excel Discussion (Misc queries) 4 February 9th 06 01:21 AM
Insert Rows in Balance Sheet Template Teacher_Becky New Users to Excel 2 November 21st 05 02:15 AM
Copying multiple sheets from one book 2 another and undertake spec Pank Mehta Excel Discussion (Misc queries) 14 March 16th 05 04:41 PM


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