Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BTM BTM is offline
external usenet poster
 
Posts: 3
Default Changing Numerators but not Denominators

I have a worksheet in which cell C2 has number e.g. 253,754.

In other rows I'm placing different values in the C column e.g. C10=8,000;
C13=5,000; C16=12,500; C19=2,750; C22=11,000 etc.

I want the B10 cell to calculate the percentage C10 is to C2 so I input the
formula =C10/C2 into B10.

When I copy the formula in B10 (=C10/C2) to the rows that have other values
in the C column such as C13, C16, C19, C22 it changes the numerator and
denominator so what shows up in B13 is =C13/C5. I would like the formula to
change the numerator to the corresponding row but keep the denominator as C2.
I would like the formula to change to =C13/C2, =C16/C2, =C19/C2, =C22/C2,
etc. How can I copy the formula in B10 to other cells to accomplish this?

I'm using Office 2003.

Thanks for your help.

--
BTM
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Changing Numerators but not Denominators

To accomplish this, you can use a mixed cell reference for the denominator ($C$2) in your formula. A mixed cell reference is a combination of an absolute cell reference (using the $ symbol) and a relative cell reference (without the $ symbol).

Here's how you can modify your formula in cell B10 to use a mixed cell reference:
  1. Select cell B10.
  2. Edit the formula in the formula bar to change it to =
    Code:
    C10/$C$2
    .
  3. Press Enter to confirm the formula.

The $ symbol before the C and the 2 in $C$2 makes them absolute cell references, which means they won't change when you copy the formula to other cells.
  1. Copy cell B10 by selecting it and pressing Ctrl+C.
  2. Select the range of cells where you want to paste the formula (B13:B22 in this case).
  3. Right-click on the selection and choose "Paste Special" from the context menu.
  4. In the "Paste Special" dialog box, choose "Formulas" and click OK.

The formula in each cell will now reference the corresponding cell in column C and the absolute cell reference $C$2 for the denominator.

Alternatively, you can also use the "Fill Handle" to copy the formula down to other cells:
  1. Select cell B10.
  2. Hover your mouse over the bottom-right corner of the cell until it turns into a black cross.
  3. Click and drag the cross down to the last cell where you want to copy the formula (B22 in this case).
  4. Release the mouse button to copy the formula to the selected cells.

The formula in each cell will now reference the corresponding cell in column C and the absolute cell reference $C$2 for the denominator.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Changing Numerators but not Denominators

=C10/$C$2

The $ signs "fix" C2 so it won't change as you copy.

See help on relative and absolute references.


Gord Dibben MS Excel MVP

On Thu, 19 Mar 2009 16:56:09 -0700, BTM
wrote:

I have a worksheet in which cell C2 has number e.g. 253,754.

In other rows I'm placing different values in the C column e.g. C10=8,000;
C13=5,000; C16=12,500; C19=2,750; C22=11,000 etc.

I want the B10 cell to calculate the percentage C10 is to C2 so I input the
formula =C10/C2 into B10.

When I copy the formula in B10 (=C10/C2) to the rows that have other values
in the C column such as C13, C16, C19, C22 it changes the numerator and
denominator so what shows up in B13 is =C13/C5. I would like the formula to
change the numerator to the corresponding row but keep the denominator as C2.
I would like the formula to change to =C13/C2, =C16/C2, =C19/C2, =C22/C2,
etc. How can I copy the formula in B10 to other cells to accomplish this?

I'm using Office 2003.

Thanks for your help.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BTM BTM is offline
external usenet poster
 
Posts: 3
Default Changing Numerators but not Denominators

Thanks, I thought there would be an easy way to accomplish this. You've just
saved me a lot of time, I appreciate your quick response.
--
BTM


"Gord Dibben" wrote:

=C10/$C$2

The $ signs "fix" C2 so it won't change as you copy.

See help on relative and absolute references.


Gord Dibben MS Excel MVP

On Thu, 19 Mar 2009 16:56:09 -0700, BTM
wrote:

I have a worksheet in which cell C2 has number e.g. 253,754.

In other rows I'm placing different values in the C column e.g. C10=8,000;
C13=5,000; C16=12,500; C19=2,750; C22=11,000 etc.

I want the B10 cell to calculate the percentage C10 is to C2 so I input the
formula =C10/C2 into B10.

When I copy the formula in B10 (=C10/C2) to the rows that have other values
in the C column such as C13, C16, C19, C22 it changes the numerator and
denominator so what shows up in B13 is =C13/C5. I would like the formula to
change the numerator to the corresponding row but keep the denominator as C2.
I would like the formula to change to =C13/C2, =C16/C2, =C19/C2, =C22/C2,
etc. How can I copy the formula in B10 to other cells to accomplish this?

I'm using Office 2003.

Thanks for your help.



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
Changing background colour when changing data in a cell Paoul Excel Discussion (Misc queries) 7 December 26th 08 07:25 AM
How can make a formula to add add the nominators and denominators thrower4life Excel Worksheet Functions 1 September 17th 08 05:16 AM
How to divide a number into various denominators maa Excel Worksheet Functions 3 June 4th 07 03:23 PM
12ths denominators for fractions in Excel (for pension calcs) pipey king Excel Worksheet Functions 1 August 25th 06 05:13 PM
Fractions: summing numerators and denomerators separately burnsbyrne Excel Discussion (Misc queries) 4 May 27th 05 12:03 AM


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