Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default copy formula with same cells involved

Can anyone tell me how to do this

Suppose I have put some no.s in cell A1, A2, A3, A4, A5 & B5. Now the cell
A6 is the sum of no.s from A1 to A4 divided by A5. Now, I want cell B6, to
have same formulae as A6, i.e., it should have sum of no.s in cells A1 to A4,
but it should be divided by B5. If I copy paste from cell A6 to B6, the sum
is of cells B1 to B4 though divided by B5, now manually changing it is not
possible. Plz help, If it is not possible for cell B6 to be divided by B5,
atleast can it be the sum of cells A1 to A4.
  #2   Report Post  
Posted to microsoft.public.excel.misc
FC FC is offline
external usenet poster
 
Posts: 130
Default copy formula with same cells involved

Simple putting this sign $ in from of the letter and number of the
formula will copy same formula. Something like adding $A$6 to A6.

"kamal" wrote:

Can anyone tell me how to do this

Suppose I have put some no.s in cell A1, A2, A3, A4, A5 & B5. Now the cell
A6 is the sum of no.s from A1 to A4 divided by A5. Now, I want cell B6, to
have same formulae as A6, i.e., it should have sum of no.s in cells A1 to A4,
but it should be divided by B5. If I copy paste from cell A6 to B6, the sum
is of cells B1 to B4 though divided by B5, now manually changing it is not
possible. Plz help, If it is not possible for cell B6 to be divided by B5,
atleast can it be the sum of cells A1 to A4.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default copy formula with same cells involved

On 4 Nov, 13:57, kamal wrote:
Can anyone tell me how to do this

Suppose I have put some no.s in cell A1, A2, A3, A4, A5 & B5. Now the cell
A6 is the sum of no.s from A1 to A4 divided by A5. Now, I want cell B6, to
have same formulae as A6, i.e., it should have sum of no.s in cells A1 to A4,
but it should be divided by B5. If I copy paste from cell A6 to B6, the sum
is of cells B1 to B4 though divided by B5, now manually changing it is not
possible. Plz help, If it is not possible for cell B6 to be divided by B5,
atleast can it be the sum of cells A1 to A4.


Cell A6 should contain:

=SUM($A1:$A4)/A5

Now, when you copy and paste this to cell B6 it's formula will become:

=SUM($A1:$A4)/B5

This is because $A1 means absolute reference whereas A1 (in your case)
means relative reference.

Whenever you copy a cell to another, Excel modifies relative
references (e.g. A1:A10) to allow for the movement to the new
position. For example, if you copied the formula from cell A12 to cell
E12, the new formula would be E1:E10.

Absolute references (e.g. $A1 or $A$1) will not be altered and will
always refer to the original cells..

John.








  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default copy formula with same cells involved

thanks John and FC
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
Copy drag formula down cells Colin Excel Worksheet Functions 3 August 25th 07 04:02 AM
how copy formula and only paste into 20,000 cells dlb1228 Excel Discussion (Misc queries) 1 February 28th 07 09:30 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Matching when spaces are involved JaB Excel Worksheet Functions 1 November 15th 05 12:46 PM
How do I copy formula cells from one worksheet to another? Shelley Excel Worksheet Functions 1 January 14th 05 06:25 PM


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