PC Review


Reply
Thread Tools Rate Thread

Averaging only populated cells

 
 
John
Guest
Posts: n/a
 
      19th Sep 2009
I'm averaging cells that aren't next to each other, but i don't want the
average to include cells that aren't populated.

=AVERAGE(F4:F6,F10,F14,F18,F21)
f
F4- 5
F6- 5
F10-
F 14- 5

AVERAGE = 3.75

for example, its possible that, let say, F10 has no quantitiy, i don't want
that to drag my average down. I want the results in the example above to
average = 5
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      19th Sep 2009
Well, try it out. AVERAGE ignores blank cells, so your result should
not be adversely affected.

Pete

On Sep 19, 2:08*pm, John <J...@discussions.microsoft.com> wrote:
> I'm averaging cells that aren't next to each other, but i don't want the
> average to include cells that aren't populated.
>
> =AVERAGE(F4:F6,F10,F14,F18,F21)
> f
> F4- 5
> F6- 5
> F10-
> F 14- 5
>
> AVERAGE = 3.75 * *
>
> for example, its possible that, let say, F10 has no quantitiy, i don't want
> that to drag my average down. I want the results in the example above to
> average = 5


 
Reply With Quote
 
L. Howard Kittle
Guest
Posts: n/a
 
      19th Sep 2009
Looks like you are free to drag, per Help on AVERGE.

a.. If an array or reference argument contains text, logical values, or
empty cells, those values are ignored; however, cells with the value zero
are included.

HTH
Regards,
Howard

"John" <(E-Mail Removed)> wrote in message
news:3A35F3B7-DD10-4221-8C37-(E-Mail Removed)...
> I'm averaging cells that aren't next to each other, but i don't want the
> average to include cells that aren't populated.
>
> =AVERAGE(F4:F6,F10,F14,F18,F21)
> f
> F4- 5
> F6- 5
> F10-
> F 14- 5
>
> AVERAGE = 3.75
>
> for example, its possible that, let say, F10 has no quantitiy, i don't
> want
> that to drag my average down. I want the results in the example above to
> average = 5



 
Reply With Quote
 
WShelton
Guest
Posts: n/a
 
      19th Sep 2009
The AVERAGE function does not include blank cells. If you want to use the
AVERAGE function and ignore any ZERO's.
Try something like this:

=AVERAGE(IF(F4<>0,IF(F6<>0,IF(F10<>0,IF(F14<>0,F4),F6),F10),F14))



"John" <(E-Mail Removed)> wrote in message
news:3A35F3B7-DD10-4221-8C37-(E-Mail Removed)...
> I'm averaging cells that aren't next to each other, but i don't want the
> average to include cells that aren't populated.
>
> =AVERAGE(F4:F6,F10,F14,F18,F21)
> f
> F4- 5
> F6- 5
> F10-
> F 14- 5
>
> AVERAGE = 3.75
>
> for example, its possible that, let say, F10 has no quantitiy, i don't
> want
> that to drag my average down. I want the results in the example above to
> average = 5



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      19th Sep 2009
it is including those cells in the average. it drags my average retail down
whether its blank or 0.

"L. Howard Kittle" wrote:

> Looks like you are free to drag, per Help on AVERGE.
>
> a.. If an array or reference argument contains text, logical values, or
> empty cells, those values are ignored; however, cells with the value zero
> are included.
>
> HTH
> Regards,
> Howard
>
> "John" <(E-Mail Removed)> wrote in message
> news:3A35F3B7-DD10-4221-8C37-(E-Mail Removed)...
> > I'm averaging cells that aren't next to each other, but i don't want the
> > average to include cells that aren't populated.
> >
> > =AVERAGE(F4:F6,F10,F14,F18,F21)
> > f
> > F4- 5
> > F6- 5
> > F10-
> > F 14- 5
> >
> > AVERAGE = 3.75
> >
> > for example, its possible that, let say, F10 has no quantitiy, i don't
> > want
> > that to drag my average down. I want the results in the example above to
> > average = 5

>
>
>

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      19th Sep 2009
i take that back. your right. i was putting 0 in it. i just need to leave it
blank. t

thanks

"L. Howard Kittle" wrote:

> Looks like you are free to drag, per Help on AVERGE.
>
> a.. If an array or reference argument contains text, logical values, or
> empty cells, those values are ignored; however, cells with the value zero
> are included.
>
> HTH
> Regards,
> Howard
>
> "John" <(E-Mail Removed)> wrote in message
> news:3A35F3B7-DD10-4221-8C37-(E-Mail Removed)...
> > I'm averaging cells that aren't next to each other, but i don't want the
> > average to include cells that aren't populated.
> >
> > =AVERAGE(F4:F6,F10,F14,F18,F21)
> > f
> > F4- 5
> > F6- 5
> > F10-
> > F 14- 5
> >
> > AVERAGE = 3.75
> >
> > for example, its possible that, let say, F10 has no quantitiy, i don't
> > want
> > that to drag my average down. I want the results in the example above to
> > average = 5

>
>
>

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      19th Sep 2009
thanks

"WShelton" wrote:

> The AVERAGE function does not include blank cells. If you want to use the
> AVERAGE function and ignore any ZERO's.
> Try something like this:
>
> =AVERAGE(IF(F4<>0,IF(F6<>0,IF(F10<>0,IF(F14<>0,F4),F6),F10),F14))
>
>
>
> "John" <(E-Mail Removed)> wrote in message
> news:3A35F3B7-DD10-4221-8C37-(E-Mail Removed)...
> > I'm averaging cells that aren't next to each other, but i don't want the
> > average to include cells that aren't populated.
> >
> > =AVERAGE(F4:F6,F10,F14,F18,F21)
> > f
> > F4- 5
> > F6- 5
> > F10-
> > F 14- 5
> >
> > AVERAGE = 3.75
> >
> > for example, its possible that, let say, F10 has no quantitiy, i don't
> > want
> > that to drag my average down. I want the results in the example above to
> > average = 5

>
>
>

 
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
Need help with averaging an excel report populated with dates andnames. tsorvillo@columbus.rr.com Microsoft Excel Discussion 1 11th Jul 2008 01:11 AM
averaging cells Ravens Fan Microsoft Excel Misc 9 30th Nov 2007 05:53 PM
Averaging Cells Based On Conditions in Neighboring Cells foofoo Microsoft Excel Misc 3 21st Jun 2006 03:10 AM
how do populate empty cells with the contents of populated cells . =?Utf-8?B?SmltOTk=?= Microsoft Excel Misc 6 21st Apr 2005 05:44 PM
Populated cells Al Microsoft Excel Programming 2 24th May 2004 03:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:24 AM.