Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Universal formula to all cells

Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?

Thanks!

FB.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Universal formula to all cells

I think you would have to do it in a separate (adjacent) grid. Suppose
you currently have your grid occupying cells A1:F20, with your totals
in row in 21, then in cell H1 you could enter this formula:

=A1/SUM($A$21:$F$21)

and format this as percentage. Then copy the formula into cells I1:M1.
Then highlight H1:M1 and copy down to row 20.

Hope this helps.

Pete

On Mar 26, 3:09*pm, Frodo Baggins.
wrote:
Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?

Thanks!

FB.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Universal formula to all cells

Thanks Pete...thought there'd be a function like CELLCONTENT or something
that I could apply with an anchored ($A$1) cell for the math function.

Thanks again!

FB.

"Pete_UK" wrote:

I think you would have to do it in a separate (adjacent) grid. Suppose
you currently have your grid occupying cells A1:F20, with your totals
in row in 21, then in cell H1 you could enter this formula:

=A1/SUM($A$21:$F$21)

and format this as percentage. Then copy the formula into cells I1:M1.
Then highlight H1:M1 and copy down to row 20.

Hope this helps.

Pete

On Mar 26, 3:09 pm, Frodo Baggins.
wrote:
Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?

Thanks!

FB.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Universal formula to all cells

Well, you could try looking for that in XL Help, but I don't think you
will find it. <bg

Pete

On Mar 26, 4:23*pm, Frodo Baggins.
wrote:
Thanks Pete...thought there'd be a function like CELLCONTENT or something
that I could apply with an anchored ($A$1) cell for the math function.

Thanks again!

FB.



"Pete_UK" wrote:
I think you would have to do it in a separate (adjacent) grid. Suppose
you currently have your grid occupying cells A1:F20, with your totals
in row in 21, then in cell H1 you could enter this formula:


=A1/SUM($A$21:$F$21)


and format this as percentage. Then copy the formula into cells I1:M1.
Then highlight H1:M1 and copy down to row 20.


Hope this helps.


Pete


On Mar 26, 3:09 pm, Frodo Baggins.
wrote:
Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?


Thanks!


FB.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Universal formula to all cells

Copy the totals cell at end of each column.

Paste specialValue.

Copy that cell.

Select the cells above and Paste SpecialDivideOKEsc.

Format to percentage.


Gord Dibben MS Excel MVP

On Wed, 26 Mar 2008 08:09:07 -0700, Frodo Baggins.
wrote:

Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?

Thanks!

FB.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Universal formula to all cells

Actually - years ago there was an add-on that had a feature (function) where
you could apply a formula to a range of cells - for example if you had a
column of numbers that you wanted to change from positive to negative numbers
you would only need to highlight the column, bring up the universal feature
and put in the formula you wanted applied to those numbers (*-1), and the
whole column would be negative... in your case the universal formula would be
(/100) and then apply the percent format.... I've not been able to find that
wonderful add on for quite awhile... maybe someone knows where it is.

"Frodo Baggins." wrote:

Hello,
I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?

Thanks!

FB.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 213
Default Universal formula to all cells

I have a grid of numbers with totals at the end of each column.
I'd like to convert the numbers in the grid to percentages of the total.
Is there a way to do this without changing the content/formula of each
individual cell?


You can use a separate worksheet.

If the original grid is Sheet1!A1:G20 and the totals are in row 22 of
Sheet1, put this in Sheet2!A1
=Sheet1!A1/Sheet1!A$22
Then extend that formula to all of Sheet2!A1:G20.
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
Setting of input cells as blue font and formula cells as black fon Sunnyskies Excel Discussion (Misc queries) 2 May 14th 07 05:27 PM
Universal Chart and Indicator Worksheet Bashar Excel Discussion (Misc queries) 2 June 19th 06 07:40 AM
Universal formulas for any given row lamontd7 New Users to Excel 3 August 1st 05 02:55 PM
Add a universal footer option to microsoft excel. Rick Oliver Setting up and Configuration of Excel 0 May 17th 05 06:25 PM
Make A Universal Time Converter [email protected] New Users to Excel 1 December 2nd 04 04:31 AM


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