A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copy Formula Query



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2004, 04:35 PM
John
external usenet poster
 
Posts: n/a
Default Copy Formula Query


How can I copy a formula down to the next cell (vertically) when I want the
formula within it to reference to a cell that is horizontal?

Example:

There is a formula in G8 of =D3 (in another worksheet). I want to copy the
formula in G8 to G9, but instead of receiving D4 I want it to show E4

It seems such an easy task except I've a lot of these to do and can't figure
out how to do it

Thanks


  #2  
Old April 17th, 2004, 04:46 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Copy Formula Query

Hi John
try the following formula in G8 (if you want to change D3 - E4 in cell
G9 and not to E3):

=OFFSET($D$3,ROW()-8,ROW()-8)
and copy down

if you want to change D3 to E3 in cell G9 use the following in G8
=OFFSET($D$3,0,ROW()-8)


--
Regards
Frank Kabel
Frankfurt, Germany


John wrote:
How can I copy a formula down to the next cell (vertically) when I
want the formula within it to reference to a cell that is horizontal?

Example:

There is a formula in G8 of =D3 (in another worksheet). I want to
copy the formula in G8 to G9, but instead of receiving D4 I want it
to show E4

It seems such an easy task except I've a lot of these to do and can't
figure out how to do it

Thanks


  #3  
Old April 17th, 2004, 04:53 PM
Arvi Laanemets
external usenet poster
 
Posts: n/a
Default Copy Formula Query

Hi

G8=OFFSET(SheetName!$D$3,0,ROW($G8)-ROW($G$8))
or
G8=OFFSET(SheetName!$D$3,ROW($G8)-ROW($G$8),ROW($G8)-ROW($G$8))

The first one, when copied down, refers to D3, E3, F3, ...
The second one, when copied down, refers to D3, E4, F5, ...

--
Arvi Laanemets
(Don't use my reply address - it's spam-trap)


"John" wrote in message
...

How can I copy a formula down to the next cell (vertically) when I want

the
formula within it to reference to a cell that is horizontal?

Example:

There is a formula in G8 of =D3 (in another worksheet). I want to copy the
formula in G8 to G9, but instead of receiving D4 I want it to show E4

It seems such an easy task except I've a lot of these to do and can't

figure
out how to do it

Thanks




  #4  
Old April 17th, 2004, 05:14 PM
John
external usenet poster
 
Posts: n/a
Default Copy Formula Query

Thanks Guys


"Arvi Laanemets" wrote in message
...
Hi

G8=OFFSET(SheetName!$D$3,0,ROW($G8)-ROW($G$8))
or
G8=OFFSET(SheetName!$D$3,ROW($G8)-ROW($G$8),ROW($G8)-ROW($G$8))

The first one, when copied down, refers to D3, E3, F3, ...
The second one, when copied down, refers to D3, E4, F5, ...

--
Arvi Laanemets
(Don't use my reply address - it's spam-trap)


"John" wrote in message
...

How can I copy a formula down to the next cell (vertically) when I want

the
formula within it to reference to a cell that is horizontal?

Example:

There is a formula in G8 of =D3 (in another worksheet). I want to copy

the
formula in G8 to G9, but instead of receiving D4 I want it to show E4

It seems such an easy task except I've a lot of these to do and can't

figure
out how to do it

Thanks






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.