Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Averages using array.

Hi there,

I am using the following array formula to work out an average of a row of
cells that contain numerical data. i,e not an empty cell and the value isnt 0.

=AVERAGE((IF(E49:IV49<"",E49:IV49)),AND(IF(E49:IV 49<"0",E49:IV49)))

It works fine for empty cells, but it does not seem to ignore cells that
contain "0" or "0:00" any ideas???
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Averages using array.

=AVERAGE((IF((E49:IV49<"")*(E49:IV49<0),E49:IV49 )))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"LostwithoutLost" wrote in
message ...
Hi there,

I am using the following array formula to work out an average of a row of
cells that contain numerical data. i,e not an empty cell and the value

isnt 0.

=AVERAGE((IF(E49:IV49<"",E49:IV49)),AND(IF(E49:IV 49<"0",E49:IV49)))

It works fine for empty cells, but it does not seem to ignore cells that
contain "0" or "0:00" any ideas???



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Averages using array.

Fantastic,

Thankyou very much.

"Bob Phillips" wrote:

=AVERAGE((IF((E49:IV49<"")*(E49:IV49<0),E49:IV49 )))

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"LostwithoutLost" wrote in
message ...
Hi there,

I am using the following array formula to work out an average of a row of
cells that contain numerical data. i,e not an empty cell and the value

isnt 0.

=AVERAGE((IF(E49:IV49<"",E49:IV49)),AND(IF(E49:IV 49<"0",E49:IV49)))

It works fine for empty cells, but it does not seem to ignore cells that
contain "0" or "0:00" any ideas???




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
Use of Offset function in array formula scabHead Excel Worksheet Functions 4 December 23rd 06 01:16 AM
SUMPRODUCT clue needed Dallman Ross Excel Discussion (Misc queries) 5 September 25th 06 12:29 PM
I figured out how to do total averages in Pivot Charts! Jason McDermott Charts and Charting in Excel 0 September 8th 06 06:21 PM
Display an array of references andy62 Excel Worksheet Functions 1 July 6th 06 03:36 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


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