Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Formula Reproduction

Okay, here's my formula, very simple:

=D2/D51

Now that resulting value beigns in E2. When I try to drag the formula to do
the same things in every following cell in Column E, it doesn't work. I want
it to continue on down the line. BUT it not only changes D2 to D3, D4,
etc...it changes D51 to D52, D53, etc......how do I get it to not do that,
and yet reproduce on down the line correctly? Mind you I'm trying to get
this done in a macro as well, so if I can just record the process, I'll just
copy and paste the code into the macro. THANKS!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Formula Reproduction

Try

=D2/$D$51
A thumb rule: Put a $ in front of everything that should NOT change when you
fill down/right.

HTH. Best wishes Harald

"bodhisatvaofboogie" skrev i
melding ...
Okay, here's my formula, very simple:

=D2/D51

Now that resulting value beigns in E2. When I try to drag the formula to

do
the same things in every following cell in Column E, it doesn't work. I

want
it to continue on down the line. BUT it not only changes D2 to D3, D4,
etc...it changes D51 to D52, D53, etc......how do I get it to not do that,
and yet reproduce on down the line correctly? Mind you I'm trying to get
this done in a macro as well, so if I can just record the process, I'll

just
copy and paste the code into the macro. THANKS!!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Formula Reproduction

Yeah, I figured that out shortly after I posted. *smacks forehead*
THANKS!!! :)

"Harald Staff" wrote:

Try

=D2/$D$51
A thumb rule: Put a $ in front of everything that should NOT change when you
fill down/right.

HTH. Best wishes Harald

"bodhisatvaofboogie" skrev i
melding ...
Okay, here's my formula, very simple:

=D2/D51

Now that resulting value beigns in E2. When I try to drag the formula to

do
the same things in every following cell in Column E, it doesn't work. I

want
it to continue on down the line. BUT it not only changes D2 to D3, D4,
etc...it changes D51 to D52, D53, etc......how do I get it to not do that,
and yet reproduce on down the line correctly? Mind you I'm trying to get
this done in a macro as well, so if I can just record the process, I'll

just
copy and paste the code into the macro. THANKS!!!




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Formula Reproduction

Maybe you could just change the formula:

=d2/d$51

range("E2:E50").formula = "=d2/d$51"

Maybe????


bodhisatvaofboogie wrote:

Okay, here's my formula, very simple:

=D2/D51

Now that resulting value beigns in E2. When I try to drag the formula to do
the same things in every following cell in Column E, it doesn't work. I want
it to continue on down the line. BUT it not only changes D2 to D3, D4,
etc...it changes D51 to D52, D53, etc......how do I get it to not do that,
and yet reproduce on down the line correctly? Mind you I'm trying to get
this done in a macro as well, so if I can just record the process, I'll just
copy and paste the code into the macro. THANKS!!!


--

Dave Peterson
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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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