Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
name
 
Posts: n/a
Default array formula with constant


I'm trying to use an array formula to calculate the weighted average.

Gross
A:10
B:20
C:30
D:1000
----------
Total:1060

Rates
A: 15%
B: 10%
C: 30%
D: 85%

How do I use an array forumula to calculate the weighted average rate
based on gross numbers? For example, (10/1060)*15%+(20/1060)*10% and
so on?

Any help is appreciated.


--
name
------------------------------------------------------------------------
name's Profile: http://www.excelforum.com/member.php...o&userid=34115
View this thread: http://www.excelforum.com/showthread...hreadid=545146

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default array formula with constant

Let's say your gross #'s are in A1:D1 and the % numbers are in A2:D2
I believe you want

=SUMPRODUCT(A1:D1,A2:D2)/sum((A1:D1)

"name" wrote:


I'm trying to use an array formula to calculate the weighted average.

Gross
A:10
B:20
C:30
D:1000
----------
Total:1060

Rates
A: 15%
B: 10%
C: 30%
D: 85%

How do I use an array forumula to calculate the weighted average rate
based on gross numbers? For example, (10/1060)*15%+(20/1060)*10% and
so on?

Any help is appreciated.


--
name
------------------------------------------------------------------------
name's Profile: http://www.excelforum.com/member.php...o&userid=34115
View this thread: http://www.excelforum.com/showthread...hreadid=545146


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default array formula with constant

Assuming that A1:B4 contains the data, try...

=SUMPRODUCT(A1:A4,B1:B4)/SUM(A1:A4)

Hope this helps!

In article ,
name wrote:

I'm trying to use an array formula to calculate the weighted average.

Gross
A:10
B:20
C:30
D:1000
----------
Total:1060

Rates
A: 15%
B: 10%
C: 30%
D: 85%

How do I use an array forumula to calculate the weighted average rate
based on gross numbers? For example, (10/1060)*15%+(20/1060)*10% and
so on?

Any help is appreciated.

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
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Effective method to paste array formula kuansheng Excel Worksheet Functions 2 February 2nd 06 12:47 AM
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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