#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default Average formula

I have a formula that gives me an answer of the number of days a case was
worked on. This column has 1500 rows, I want to take the 1500 rows of
numbers and generate an average in a cell at the top of the page.
Question, some of the rows contain a negative number and I do not want any
negative numbers to be reflected in the average formula. How can I create a
formula to average Column x3:x1500 and leave out the cells with the negative
numbers?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Average formula

=sumif(x3:x1500,"=0") / countif(x3:x1500,"=0")

or maybe:

=if(countif(x3:x1500,"0")=0,"No data!",
sumif(x3:x1500,"=0") / countif(x3:x1500,"=0"))




Pammy wrote:

I have a formula that gives me an answer of the number of days a case was
worked on. This column has 1500 rows, I want to take the 1500 rows of
numbers and generate an average in a cell at the top of the page.
Question, some of the rows contain a negative number and I do not want any
negative numbers to be reflected in the average formula. How can I create a
formula to average Column x3:x1500 and leave out the cells with the negative
numbers?

Thanks,


--

Dave Peterson
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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Average Formula ferg Excel Worksheet Functions 3 July 21st 06 08:30 AM
average in formula? fivermsg Excel Discussion (Misc queries) 7 March 13th 06 11:59 PM
Average Row Formula Tom Excel Discussion (Misc queries) 2 May 7th 05 03:11 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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