Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Post {=average(if((c3:c325m4), C3:c325))}

Hi, I will need anyones assistance on this please... Cant figure it out..

I have this formula that I use to compute averages given a criteria,
{=AVERAGE(IF((C3:C325M4), C3:C325))}

when I try to change it to {=AVERAGE(IF((C:CM4), C:C))}, it doesnt work because it takes into consideration all cells in the C column.

How can I get it only to take into consideration the non blank cells in the C column instead of all of the cells? (knowing that I do now want to specify everytime C#:C###)...

Any tips..?

Last edited by Nebbez : November 7th 05 at 02:06 PM
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default {=AVERAGE(IF((C3:C325<M4), C3:C325))}

The reason is that it is an array formula, and these are restricted to 65535
items, so you could do

=AVERAGE(IF(C1:C65535<N4,C1:C65535))

as an array formula

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Nebbez" wrote in message
...

Hi, I will need anyones assistance on this please... Cant figure it
out..

I have this formula that I use to compute averages given a criteria,
{=AVERAGE(IF((C3:C325<M4), C3:C325))}

when I try to change it to {=AVERAGE(IF((C:C<M4), C:C))}, it doesnt
work because it takes into consideration all cells in the C column.

How can I get it only to take into consideration the non blank cells in
the C column instead of all of the cells? (knowing that I do now want to
specify everytime C#:C###)...

Any tips?


--
Nebbez



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



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