#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
an an is offline
external usenet poster
 
Posts: 37
Default Average

Hi!

I have:

A B
1 x 100
2 y 0
3 z 200
4
5

I would like average B1:B5 if A1:A5 < ""
In this case: AVG=150

Thanks in advance.
an

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Average

Hi

From the result you are showing, you want to exclude 0 values, not nulls.
The average function automatically excludes nulls.
Try
=AVERAGEIF(B1:B3,"<0")

--

Regards
Roger Govier

"an" wrote in message
...
Hi!

I have:

A B
1 x 100
2 y 0
3 z 200
4
5

I would like average B1:B5 if A1:A5 < ""
In this case: AVG=150

Thanks in advance.
an

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
an an is offline
external usenet poster
 
Posts: 37
Default Average

Ok, RG.

Perfect.
Many thanks.
an

"Roger Govier" wrote:

Hi

From the result you are showing, you want to exclude 0 values, not nulls.
The average function automatically excludes nulls.
Try
=AVERAGEIF(B1:B3,"<0")

--

Regards
Roger Govier

"an" wrote in message
...
Hi!

I have:

A B
1 x 100
2 y 0
3 z 200
4
5

I would like average B1:B5 if A1:A5 < ""
In this case: AVG=150

Thanks in advance.
an

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
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
average cells, show 0 if nothing to average Kycajun Excel Discussion (Misc queries) 8 June 21st 06 07:36 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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