Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
How do you average a column that contains formulas, when some of the formula
results are zero? -- Todd |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
I'm assuming you want to ignore 0 values?
In that case, =SUM(A1:A10)/COUNTIF(A1:A10,"0") This divides the sum of A1:A10 by the count of values in A1:A10 which are greater than zero. Dave -- Brevity is the soul of wit. "Todd" wrote: How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Todd,
You could try sum / sumproduct. Ex. =SUM(A1:E1)/(SUMPRODUCT((A1:E1<0)*1)) "Todd" skrev i en meddelelse ... How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Tod...do you expect results from zero to positive numbers only, no blank
results?? "Todd" wrote: How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
=AVERAGE(IF(A1:A100<0,A1:A100))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. Excel will automatically enclose the formula in braces (curly brackets), do not try to do this manually. When editing the formula, it must again be array-entered. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Todd" wrote in message ... How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Nielz....when the divisor consider the count of negative number, then the
zero must be included in the count for the divisor....what do you think? "Nielz" wrote: Todd, You could try sum / sumproduct. Ex. =SUM(A1:E1)/(SUMPRODUCT((A1:E1<0)*1)) "Todd" skrev i en meddelelse ... How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Thanks a lot. It worked.
-- Todd "Dave F" wrote: I'm assuming you want to ignore 0 values? In that case, =SUM(A1:A10)/COUNTIF(A1:A10,"0") This divides the sum of A1:A10 by the count of values in A1:A10 which are greater than zero. Dave -- Brevity is the soul of wit. "Todd" wrote: How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Thanks
-- Todd "Nielz" wrote: Todd, You could try sum / sumproduct. Ex. =SUM(A1:E1)/(SUMPRODUCT((A1:E1<0)*1)) "Todd" skrev i en meddelelse ... How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Thank you.
-- Todd "Bob Phillips" wrote: =AVERAGE(IF(A1:A100<0,A1:A100)) which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. Excel will automatically enclose the formula in braces (curly brackets), do not try to do this manually. When editing the formula, it must again be array-entered. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Todd" wrote in message ... How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average Functin
Tod this one assumes the average of formula result (not considering
#N/A,#DIV...etc) Formula Result assumed only with some blank(""), some zero (0), and some (+/-) numbers.. simply...=sum(a1:a10)/counta(a1:a10) "Todd" wrote: How do you average a column that contains formulas, when some of the formula results are zero? -- Todd |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
rolling average | Excel Worksheet Functions | |||
Modified Average Function | Excel Worksheet Functions | |||
plotted Average | Charts and Charting in Excel | |||
What is this kind of average called? | Excel Worksheet Functions | |||
AVERAGE and STDEV functions with logic | Excel Worksheet Functions |