average formula :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

average formula
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

calliroi
Board Regular


Joined: 10 Jul 2003
Posts: 10

Flag: Usa

Status: Offline

 Reply with quote  

average formula

I need help with the average formula:

ex: i have a column with 6,000 records.....i want to average the records in the same column that have lets say $300-$1000...is that possible

Post Fri Sep 19, 2003 5:33 pm 
 View user's profile Send private message

earlyd
Board Master


Joined: 11 Dec 2002
Posts: 955

Flag: Usa

Status: Offline

 Reply with quote  

Re: average formula

=(SUMIF(I6:I12,">300") - SUMIF(I6:I12,">1000"))/(COUNTIF(I6:I12,">300") - COUNTIF(I6:I12,">1000"))

Post Fri Sep 19, 2003 5:38 pm 
 View user's profile Send private message

earlyd
Board Master


Joined: 11 Dec 2002
Posts: 955

Flag: Usa

Status: Offline

 Reply with quote  

Re: average formula

Above solution's range obviously has to be changed to allow for your 6000 entries.

Post Fri Sep 19, 2003 5:39 pm 
 View user's profile Send private message

Iridium
Board Master
Board Master


Joined: 16 Jul 2002
Posts: 2581
Location: Walsall, England
Flag: England

Status: Offline

 Reply with quote  

Re: average formula

Without knowing more about how your s/s is set up you could try

http://www.mrexcel.com/tip011.shtml
http://www.cpearson.com/excel/lists.htm

HTH
_________________

Post Fri Sep 19, 2003 5:41 pm 
 View user's profile Send private message

Aladin Akyurek
.


Joined: 15 Feb 2002
Posts: 14083
Location: The Hague
Flag: Blank

Status: Offline

 Reply with quote  

Re: average formula

quote:
Originally posted by calliroi:
I need help with the average formula:

ex: i have a column with 6,000 records.....i want to average the records in the same column that have lets say $300-$1000...is that possible


=AVERAGE(IF(($A$2:$A$6001>=300)*($A$2:$A$6001<=1000),$A$2:$A$6001))

which must be confirmed with control+shift+enter, not just with enter.

Post Fri Sep 19, 2003 5:43 pm 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.