Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Simple Formula Question

I have a column with numbers that's sumed at the bottom. I want another
column with percents next to them but I'm having trouble using the fill
handle and I don't want to go all the way down the list filling in the
formulas for the each row of the table throughout the entire column. There
must be an easier way. Can someone please help.

So, I've got
ColA
A1 12
B1 14
C1 50
D1 SUM(A:A)

What I want is the percent the cell is of the sum listed next to the number.
So I want:
ColB
B1=A1/D1
B2=A2/D1
B3=A3/D1

When I use the fill handle I get:
B1=A1/D1
B2=A2/D2
B3=A3/D3
Both sides incement up.
(Which of course gives me a divided by zero error because there's noting in
cells D2 or D3!)

So, the question is how to I paste/copy/fill the formula into the rest of
the cells down column B so the first called cell part increments but the
later part doesn't?

I hope this is clear. And thank you for any help you provide in advance.
(Seems like a simple question but maybe not). I've tried putting parentheses
around each of the parts but they still increment up and that's as far as my
excel knowledge will take me. Any help?
--Dax
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Simple Formula Question

Try

=A1/$D$1


The dollar signs create an absolute (fixed) reference.
Mike

"Dax Arroway" wrote:

I have a column with numbers that's sumed at the bottom. I want another
column with percents next to them but I'm having trouble using the fill
handle and I don't want to go all the way down the list filling in the
formulas for the each row of the table throughout the entire column. There
must be an easier way. Can someone please help.

So, I've got
ColA
A1 12
B1 14
C1 50
D1 SUM(A:A)

What I want is the percent the cell is of the sum listed next to the number.
So I want:
ColB
B1=A1/D1
B2=A2/D1
B3=A3/D1

When I use the fill handle I get:
B1=A1/D1
B2=A2/D2
B3=A3/D3
Both sides incement up.
(Which of course gives me a divided by zero error because there's noting in
cells D2 or D3!)

So, the question is how to I paste/copy/fill the formula into the rest of
the cells down column B so the first called cell part increments but the
later part doesn't?

I hope this is clear. And thank you for any help you provide in advance.
(Seems like a simple question but maybe not). I've tried putting parentheses
around each of the parts but they still increment up and that's as far as my
excel knowledge will take me. Any help?
--Dax

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Simple Formula Question

Make the reference to D1 absolute:

=A1/D$1

Now when you copy down you'll get:

=A1/D$1
=A2/D$1
=A3/D$1
etc
etc


--
Biff
Microsoft Excel MVP


"Dax Arroway" wrote in message
...
I have a column with numbers that's sumed at the bottom. I want another
column with percents next to them but I'm having trouble using the fill
handle and I don't want to go all the way down the list filling in the
formulas for the each row of the table throughout the entire column.
There
must be an easier way. Can someone please help.

So, I've got
ColA
A1 12
B1 14
C1 50
D1 SUM(A:A)

What I want is the percent the cell is of the sum listed next to the
number.
So I want:
ColB
B1=A1/D1
B2=A2/D1
B3=A3/D1

When I use the fill handle I get:
B1=A1/D1
B2=A2/D2
B3=A3/D3
Both sides incement up.
(Which of course gives me a divided by zero error because there's noting
in
cells D2 or D3!)

So, the question is how to I paste/copy/fill the formula into the rest of
the cells down column B so the first called cell part increments but the
later part doesn't?

I hope this is clear. And thank you for any help you provide in advance.
(Seems like a simple question but maybe not). I've tried putting
parentheses
around each of the parts but they still increment up and that's as far as
my
excel knowledge will take me. Any help?
--Dax



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Simple Formula Question

Select the column that the formula is in by the column header, go to
Edit/Replace and replace all D/ with D/$

That will fix your error also.

TK

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Simple Formula Question

On Feb 5, 3:42*pm, Cortez wrote:
Select the column that the formula is in by the column header, go to
Edit/Replace and replace all D/ with D/$

That will fix your error also.

TK


Ignore that. Duh.
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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Simple Formula Question chip_pyp Excel Discussion (Misc queries) 1 December 8th 05 07:01 PM
Very simple, but difficult formula question pugsly8422 Excel Worksheet Functions 4 July 7th 05 03:14 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM


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