#1   Report Post  
Reggie
 
Posts: n/a
Default Average

Hello,

Ok. I'm trying to develop an average for a range of
values. Pretty simple. Of course, I have to complicate
things by needing an average only for items that fall in a
specific range. For example, if I have 100 values, I only
want to calculate an average for the values that fall
between 40 and 60, inclusive.

Any ideas?

Thanks,
Reg
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Use an array formula like:

=AVERAGE(IF((A1:A100=40)*(A1:A100<=60),A1:A100))

After inserting the formula, press ctrl/shift/enter.

HTH
Jason
Atlanta, GA

-----Original Message-----
Hello,

Ok. I'm trying to develop an average for a range of
values. Pretty simple. Of course, I have to complicate
things by needing an average only for items that fall in

a
specific range. For example, if I have 100 values, I

only
want to calculate an average for the values that fall
between 40 and 60, inclusive.

Any ideas?

Thanks,
Reg
.

  #3   Report Post  
Reggie
 
Posts: n/a
Default

Mr. Morin,

You are a genius! Thanks.

Reg
-----Original Message-----
Use an array formula like:

=AVERAGE(IF((A1:A100=40)*(A1:A100<=60),A1:A100 ))

After inserting the formula, press ctrl/shift/enter.

HTH
Jason
Atlanta, GA

-----Original Message-----
Hello,

Ok. I'm trying to develop an average for a range of
values. Pretty simple. Of course, I have to complicate
things by needing an average only for items that fall in

a
specific range. For example, if I have 100 values, I

only
want to calculate an average for the values that fall
between 40 and 60, inclusive.

Any ideas?

Thanks,
Reg
.

.

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
calculate average hours and minutes llstephens Excel Worksheet Functions 4 November 30th 04 03:47 PM
Average if Vlookup help Excel Worksheet Functions 5 November 30th 04 01:01 AM
calculate average hours worked llstephens Excel Worksheet Functions 1 November 24th 04 02:37 PM
average, array and offsets Darin1979 Excel Worksheet Functions 0 November 17th 04 04:21 PM
Using Average function when number is zero Deb Excel Worksheet Functions 3 November 6th 04 01:01 AM


All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"