A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Average numbers in noncontiguous columns ignoring 0's.



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2010, 09:32 PM posted to microsoft.public.excel.worksheet.functions
bean counter
external usenet poster
 
Posts: 1
Default Average numbers in noncontiguous columns ignoring 0's.

I need to average numbers that are not in contiguous columns, and I need to
ignore zeros.

Is this possible?
  #2  
Old April 15th, 2010, 10:26 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Average numbers in noncontiguous columns ignoring 0's.

I need to average numbers that are
not in contiguous columns


Ok, tell us what columns. Tell us the specific range of cells you need to
average.

I need to ignore zeros.


Ok, are the numbers to average *always* positive numbers?

Is this possible?


Probably, just need some more info.

--
Biff
Microsoft Excel MVP


"bean counter" bean wrote in message
...
I need to average numbers that are not in contiguous columns, and I need to
ignore zeros.

Is this possible?



  #3  
Old April 16th, 2010, 01:23 PM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default Average numbers in noncontiguous columns ignoring 0's.

Something like this:

=SUM($A1:$A20,$C1:$C20,$E1:$E20)/SUMPRODUCT(($A1:$A200)+($C1:$C200)+($E1:$E20 0))

HTH
Steve.


"bean counter" bean wrote in message
...
I need to average numbers that are not in contiguous columns, and I need to
ignore zeros.

Is this possible?


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:44 PM.


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