Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default calculating the mean

I apologize for this stupid question, but I'm trying to calculate the mean of
the following cells and format it into a percentage
E3 189
F3 93%
G3 198
H3 93%
I3 211
J3 92%
K3 196
L3 93%
M3 224
93332% -


Here's my formula:
=(B3*C3)+(D3*E3)+(F3*G3)+(H3*I3)+(J3*K3)+(L3*M3)/(C3+E3+G3+I3+K3+M3)

Please help!
Thanks

--
bd
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default calculating the mean

=AVERAGE(Range)

your formula looks more like you are trying to get some weighted average?


If you add some parenthesis

=(B3*C3)+(D3*E3)+(F3*G3)+(H3*I3)+(J3*K3)+(L3*M3)/(C3+E3+G3+I3+K3+M3)

if you change the setup a bit and you put all the percentage in one range
and the other values in another range with both ranges the same size you
could use

=SUMPRODUCT(C3:H3,C4:H4)/SUM(C4:H4)

percentage in C3:H3 and the other values in C4:H4


--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email)


"Barb" wrote in message
...
I apologize for this stupid question, but I'm trying to calculate the mean
of
the following cells and format it into a percentage
E3 189
F3 93%
G3 198
H3 93%
I3 211
J3 92%
K3 196
L3 93%
M3 224
93332% -


Here's my formula:
=(B3*C3)+(D3*E3)+(F3*G3)+(H3*I3)+(J3*K3)+(L3*M3)/(C3+E3+G3+I3+K3+M3)

Please help!
Thanks

--
bd



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 418
Default calculating the mean

Barb wrote:
I apologize for this stupid question


There are no stupid questions :-).

but I'm trying to calculate the mean of
the following cells and format it into a percentage
[....]
Here's my formula:
=(B3*C3)+(D3*E3)+(F3*G3)+(H3*I3)+(J3*K3)+(L3*M3)/(C3+E3+G3+I3+K3+M3)


Not the best way to arrange the data. But to correct your formula, you
only need to insert some parentheses around the entire numerator, just
as you have them around the denominator, to wit:

=( (B3*C3)+(D3*E3)+(F3*G3)+(H3*I3)+(J3*K3)+(L3*M3) ) /
(C3+E3+G3+I3+K3+M3)

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
calculating time T.K.RAJU via OfficeKB.com Excel Discussion (Misc queries) 3 December 27th 05 12:22 PM
Calculating Cells n% displayed in a cell? Hannibal Excel Worksheet Functions 0 November 2nd 05 02:36 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! RICHARD Excel Discussion (Misc queries) 0 March 1st 05 01:53 PM


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