Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
jd jd is offline
external usenet poster
 
Posts: 91
Default averaging less than values

How do I calculate the average, minimum, and maximum of a column of numbers
containing less than (<1) values and also some cells are empty? I want the
less than values to be calculated as zeros when averaging and the minimum
values to say <1 if it is the minimum. Example:

2
3
4

<1
<1
5

<1
4
<1

In this example the maximum is 5, the minimum is <1, and the average should
be 2.

Thanks
--
JD
  #2   Report Post  
Posted to microsoft.public.excel.newusers
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default averaging less than values

Can you use a custom number format

#,###;(#,###);"<1"

and enter 0 instead of the text value "<1"? Then you could use average,
min, and max normally while displaying "<1" for 0 values on the screen.

otherwise, you could try
=AVERAGE(IF(ISTEXT(A1:A11),0,IF(ISNUMBER(A1:A11),A 1:A11)))
array entered with Ctrl+Shift+Enter and
=IF(SUMPRODUCT(--(A1:A11="<1")),"<1",MIN(A1:A11))


"JD" wrote:

How do I calculate the average, minimum, and maximum of a column of numbers
containing less than (<1) values and also some cells are empty? I want the
less than values to be calculated as zeros when averaging and the minimum
values to say <1 if it is the minimum. Example:

2
3
4

<1
<1
5

<1
4
<1

In this example the maximum is 5, the minimum is <1, and the average should
be 2.

Thanks
--
JD

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
Averaging all values for each hour??? Jennifer Excel Discussion (Misc queries) 12 March 30th 10 06:05 PM
averaging less than values JD New Users to Excel 4 August 28th 08 07:42 PM
Averaging multiple ranges with #n/a values Anne Excel Discussion (Misc queries) 0 August 13th 08 05:20 PM
Averaging last 25 non zero values. [email protected] Excel Discussion (Misc queries) 2 December 10th 07 01:16 PM
Averaging selected values Hellion Excel Worksheet Functions 3 July 4th 05 03:29 AM


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

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"