LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default sumdivide array formula

Hello,

I have two columns that I would like to divide across and
sum the quotients. If the right column is not a number or is
0 or blank, I don't want to include it in the sum. Example:

[code]
A B C
1 Room Area Area/Person
2 Break 144.10 100
3 Office 157.70 50
4 Hall
5 Toilet
6 Stacks 785.00 100
.....
Total Occupants: ????

I would like to write a formula that would work with the
array and still work if I add rows or delete values. Some rooms
are not applicable to the count but need to be included anyway.

Tried the array formula:
{=sum(if(and(isnumber(C1:C6),C1:C60)),B1:B6/C1:C6))}

but it did not work. Sumproduct would work if I was trying
to multiply. Anyone have any ideas? Thanks.


 
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
Sumproduct to SumDivide ????????? Dale Excel Worksheet Functions 6 April 30th 23 12:24 PM
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM


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