Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Excel - Averaging

If there number of cells to be averaged is small
=(A2+A4+A6+A8)/((A2<0)+(A4<0)+(A6<0)+(A8<0))
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Christy" wrote in message
...
I need to average multiple cells that are not continuous and ignore zero
values. The formula to ignore =AVERAGE(IF(A2:A7<0, A2:A7,"")) does not
work
for single cell entries (i.e. A2,A4, A6, A8) Is there a way to do this?



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
Excel - Averaging Over Multiple Workbooks GMCN Excel Worksheet Functions 0 March 13th 07 08:14 PM
Averaging Time withing Excel Fred Smith Excel Worksheet Functions 2 July 22nd 06 08:08 AM
Averaging function is pulling back a zero in Excel Thennessee Excel Discussion (Misc queries) 3 October 11th 05 03:14 AM
Averaging with excel excelhelp234 Excel Discussion (Misc queries) 1 September 1st 05 07:52 AM
Adding/Averaging Times in Excel JD Excel Discussion (Misc queries) 2 January 5th 05 05:07 PM


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

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

About Us

"It's about Microsoft Excel"