Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can I get a average of a row without the cells that contain 0?
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMIF(A2:E2,"<0")/COUNTIF(A2:E2,"<0")
you can also use an array formula like =AVERAGE(IF(2:2<0,2:2)) entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Matt" wrote in message ... How can I get a average of a row without the cells that contain 0? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=sum(1:1)/(count(1:1)-countif(1:1,0))
(if you're looking at row 1) Matt wrote: How can I get a average of a row without the cells that contain 0? -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What I have is the average of C38:p38 I dont want to average any 0 that may
showup in these cells.. "Peo Sjoblom" wrote: =SUMIF(A2:E2,"<0")/COUNTIF(A2:E2,"<0") you can also use an array formula like =AVERAGE(IF(2:2<0,2:2)) entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Matt" wrote in message ... How can I get a average of a row without the cells that contain 0? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks I just got it to work
"Dave Peterson" wrote: =sum(1:1)/(count(1:1)-countif(1:1,0)) (if you're looking at row 1) Matt wrote: How can I get a average of a row without the cells that contain 0? -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
change A2:E2 to C38:P38 in both spots and test it out.
Matt wrote: What I have is the average of C38:p38 I dont want to average any 0 that may showup in these cells.. "Peo Sjoblom" wrote: =SUMIF(A2:E2,"<0")/COUNTIF(A2:E2,"<0") you can also use an array formula like =AVERAGE(IF(2:2<0,2:2)) entered with ctrl + shift & enter -- Regards, Peo Sjoblom "Matt" wrote in message ... How can I get a average of a row without the cells that contain 0? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A formula to AVERAGE IF but only average a set number of values | Excel Worksheet Functions | |||
Find monthly average but have average automatically configured | Excel Discussion (Misc queries) | |||
Error Handling #N/A with AVERAGE Function - Average of values in Row | Excel Worksheet Functions | |||
Weighed Average of a weiged average when there are blanks | Excel Discussion (Misc queries) | |||
how does one convert text to a formula "average(A:A)" to =average( | Excel Worksheet Functions |