#1   Report Post  
Posted to microsoft.public.excel.misc
rmarks
 
Posts: n/a
Default dragging formulas

I am having a problem dragging down a formula. Its easier for me to give an
example rather than describe the problem. Example: The formula im trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would like for
the drag down is d41+d87+d137+d184. Any thoughts on how i can correct this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bryan Hessey
 
Posts: n/a
Default dragging formulas


Offset the column number by the number of rows above the firstline of
the drag,
ie, using c41+c87+c137+c184 in Row 9 and 'dragging' down would give

=OFFSET($C$41,0,ROW()-9)+OFFSET($C$87,0,ROW()-9)+OFFSET($C$137,0,ROW()-9)+OFFSET($C$184,0,ROW()-9)

and formula drag that downwards.


rmarks Wrote:
I am having a problem dragging down a formula. Its easier for me to
give an
example rather than describe the problem. Example: The formula im
trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would like
for
the drag down is d41+d87+d137+d184. Any thoughts on how i can correct
this?



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=486388

  #3   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default dragging formulas

Hi,

Try,

=OFFSET($A$1,40,ROW(A1)+1)+OFFSET($A$1,86,ROW(A1)+ 1)+OFFSET($A$1,136,ROW(A1)+1)+OFFSET($A$1,183,ROW( A1)+1)

Here, the number after the comma immediately after $A$1 in each OFFSET
function is one less than the row number of the cell added.

Regards,
B. R. Ramachandran

"rmarks" wrote:

I am having a problem dragging down a formula. Its easier for me to give an
example rather than describe the problem. Example: The formula im trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would like for
the drag down is d41+d87+d137+d184. Any thoughts on how i can correct this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
TC
 
Posts: n/a
Default dragging formulas

The only way I know to get the results you want is to drag horizontally.
Then 'Cut' and 'Paste' in Column you tried to drag down.

TC

"rmarks" wrote:

I am having a problem dragging down a formula. Its easier for me to give an
example rather than describe the problem. Example: The formula im trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would like for
the drag down is d41+d87+d137+d184. Any thoughts on how i can correct this?

  #5   Report Post  
Posted to microsoft.public.excel.misc
rmarks
 
Posts: n/a
Default dragging formulas

That worked for me. Thank you very much!

"Bryan Hessey" wrote:


Offset the column number by the number of rows above the firstline of
the drag,
ie, using c41+c87+c137+c184 in Row 9 and 'dragging' down would give

=OFFSET($C$41,0,ROW()-9)+OFFSET($C$87,0,ROW()-9)+OFFSET($C$137,0,ROW()-9)+OFFSET($C$184,0,ROW()-9)

and formula drag that downwards.


rmarks Wrote:
I am having a problem dragging down a formula. Its easier for me to
give an
example rather than describe the problem. Example: The formula im
trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would like
for
the drag down is d41+d87+d137+d184. Any thoughts on how i can correct
this?



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=486388




  #6   Report Post  
Posted to microsoft.public.excel.misc
Bryan Hessey
 
Posts: n/a
Default dragging formulas


Thanks for the reply.


rmarks Wrote:
That worked for me. Thank you very much!

"Bryan Hessey" wrote:


Offset the column number by the number of rows above the firstline

of
the drag,
ie, using c41+c87+c137+c184 in Row 9 and 'dragging' down would give


=OFFSET($C$41,0,ROW()-9)+OFFSET($C$87,0,ROW()-9)+OFFSET($C$137,0,ROW()-9)+OFFSET($C$184,0,ROW()-9)

and formula drag that downwards.


rmarks Wrote:
I am having a problem dragging down a formula. Its easier for me

to
give an
example rather than describe the problem. Example: The formula im
trying to
drag down is: c41+c87+c137+c184. If i drag this down i will get
c42+c88+c138+c185 in the next row but the formula i result i would

like
for
the drag down is d41+d87+d137+d184. Any thoughts on how i can

correct
this?



--
Bryan Hessey

------------------------------------------------------------------------
Bryan Hessey's Profile:

http://www.excelforum.com/member.php...o&userid=21059
View this thread:

http://www.excelforum.com/showthread...hreadid=486388




--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=486388

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
Dragging formulas Ben Greenwood Excel Worksheet Functions 7 July 12th 07 06:04 PM
copy formulas by dragging vertically brantty Excel Discussion (Misc queries) 6 November 16th 05 12:02 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Dragging formulas matt Excel Worksheet Functions 1 December 12th 04 12:27 AM
Dragging formulas matt Excel Worksheet Functions 0 December 11th 04 11:51 PM


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

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"