PC Review


Reply
Thread Tools Rate Thread

Average formula

 
 
Pammy
Guest
Posts: n/a
 
      26th Jun 2008
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,
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      26th Jun 2008
=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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AVERAGE Formula Help Steph Microsoft Excel Misc 2 16th May 2008 07:49 PM
A formula to AVERAGE IF but only average a set number of values DonFlak@gmail.com Microsoft Excel Worksheet Functions 2 31st Jan 2008 08:28 PM
formula average =?Utf-8?B?TWVsbGU=?= Microsoft Excel Misc 3 6th Oct 2005 03:20 PM
Average Row Formula Tom Microsoft Excel Discussion 5 7th May 2005 07:15 PM
how does one convert text to a formula "average(A:A)" to =average( =?Utf-8?B?cGhzaGlyaw==?= Microsoft Excel Worksheet Functions 4 14th Apr 2005 01:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 AM.