Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 273
Default Averaging cells not connected

Iam somewhat new to Excell 2003. I've just learned how to average cells (&
ignore zeros) that are connected, either row to row, or coloumb to coloumb.
I need to know how to average cells (& ignore zeros or blank cells) that is a
mix of connected cell and others that are not connected.....like;
B5 C5 D5
B10 C10 D10
this format continues for several more rows.

Not sure if I'll find this help screen again. If you don't mined, would
you also email the results to: Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,345
Default Averaging cells not connected

Try:

=AVERAGE(IF(B5:D5<0,B5:D5),IF(B10:D10<0,B10:D10) )

This is an array formula so must be enterered by pressing and holding the
Crtl & Shift keys while you press the Enter key. If you do this correctly
then Excel will place curly braces { } around the formula.

If you do not array enter it you will get a #Value! error.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Gary" wrote in message
...
Iam somewhat new to Excell 2003. I've just learned how to average cells
(&
ignore zeros) that are connected, either row to row, or coloumb to
coloumb.
I need to know how to average cells (& ignore zeros or blank cells) that
is a
mix of connected cell and others that are not connected.....like;
B5 C5 D5
B10 C10 D10
this format continues for several more rows.

Not sure if I'll find this help screen again. If you don't mined, would
you also email the results to:
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,344
Default Averaging cells not connected

Hi,

First point - blank cells are treated are ignored by the average function,
as are all non-numeric cells.

Here is one formula:
=AVERAGE((B5:D5<0)*B5:D5,(B10:D10<0)*B10:D10)
It needs to be array entered - Press Shift+Ctrl+Enter rather than Enter.

Now if the rows between B5:D5 and B10:D10 are blank, or contain non-numeric
data you can use:
=AVERAGE(B5:D10)
No array entry needed.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Gary" wrote:

Iam somewhat new to Excell 2003. I've just learned how to average cells (&
ignore zeros) that are connected, either row to row, or coloumb to coloumb.
I need to know how to average cells (& ignore zeros or blank cells) that is a
mix of connected cell and others that are not connected.....like;
B5 C5 D5
B10 C10 D10
this format continues for several more rows.

Not sure if I'll find this help screen again. If you don't mined, would
you also email the results to: Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Averaging cells not connected

First point - blank cells are treated are ignored by the
average function, as are all non-numeric cells.
=AVERAGE((B5:D5<0)*B5:D5,(B10:D10<0)*B10:D10)


That will include both numeric 0 and empty cells.


--
Biff
Microsoft Excel MVP


"ShaneDevenshire" wrote in
message ...
Hi,

First point - blank cells are treated are ignored by the average function,
as are all non-numeric cells.

Here is one formula:
=AVERAGE((B5:D5<0)*B5:D5,(B10:D10<0)*B10:D10)
It needs to be array entered - Press Shift+Ctrl+Enter rather than Enter.

Now if the rows between B5:D5 and B10:D10 are blank, or contain
non-numeric
data you can use:
=AVERAGE(B5:D10)
No array entry needed.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Gary" wrote:

Iam somewhat new to Excell 2003. I've just learned how to average cells
(&
ignore zeros) that are connected, either row to row, or coloumb to
coloumb.
I need to know how to average cells (& ignore zeros or blank cells) that
is a
mix of connected cell and others that are not connected.....like;
B5 C5 D5
B10 C10 D10
this format continues for several more rows.

Not sure if I'll find this help screen again. If you don't mined, would
you also email the results to: Thanks.



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
UPDATING CELLS THAT HAVE BEEN CONNECTED FROM DIFFERENCT PAGES XCELME Excel Discussion (Misc queries) 1 December 13th 06 05:31 PM
Averaging Cells Based On Conditions in Neighboring Cells foofoo Excel Discussion (Misc queries) 3 June 21st 06 03:10 AM
Connected calculation of three cells Pieman Excel Worksheet Functions 8 March 6th 06 01:07 PM
how do you delete cells when they are connected with a formula Rere New Users to Excel 10 December 28th 05 09:28 PM
Averaging cells which contain #DIV/0! maryj Excel Worksheet Functions 4 November 4th 04 01:32 PM


All times are GMT +1. The time now is 10:32 PM.

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"