#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Evaluating a range

I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Evaluating a range

=ROUNDUP((SMALL(A1:E1,1)+SMALL(A1:E1,2)+SMALL(A1:E 1,3))/3,0)

--
Gary''s Student
gsnu200709


"TwoDot" wrote:

I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Evaluating a range

Try this:

=IF(COUNT(A1:A5)<3,"",CEILING(AVERAGE(SMALL(A1:A5, {1,2,3})),1))

Biff

"TwoDot" wrote in message
...
I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Evaluating a range

Assuming the 5 numbers are in A1:E1,

=CEILING(AVERAGE(SMALL(A1:E1,{1,2,3})), 1)



"TwoDot" wrote:

I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default Evaluating a range

Hi TwoDot,

i've seen solutions to your question and depending on the non-blank cell
values...
i'll mix Gary's and Valko's formula...

perhaps something like this..

=IF(COUNT(A1:A5)<3,"INC!",ROUNDUP((SMALL(A1:A5,1)+ SMALL(A1:A5,2)+SMALL(A1:A5,3))/3,0))

short test with 3 cells containing -2.5 each....2 blank cells...
result is -3

if you want to round down the average, you can take a look at INT() function
on help files....

regards,
driller
--
*****
birds of the same feather flock together..



"TwoDot" wrote:

I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default Evaluating a range

Hi TwoDot,
maybe i literally missed your "phrased" question...you want to roundup
INTEGERS....which is the reverse of INT() function....

=IF(COUNT(A1:A5)<3,"INC",IF((SMALL(A1:A5,1)+SMALL( A1:A5,2)+SMALL(A1:A5,3))/30,ROUNDUP((SMALL(A1:A5,1)+SMALL(A1:A5,2)+SMALL(A 1:A5,3))/3,0),ROUNDDOWN((SMALL(A1:A5,1)+SMALL(A1:A5,2)+SMAL L(A1:A5,3))/3,0)))

regards,
driller
--
*****
birds of the same feather flock together..



"driller" wrote:

Hi TwoDot,

i've seen solutions to your question and depending on the non-blank cell
values...
i'll mix Gary's and Valko's formula...

perhaps something like this..

=IF(COUNT(A1:A5)<3,"INC!",ROUNDUP((SMALL(A1:A5,1)+ SMALL(A1:A5,2)+SMALL(A1:A5,3))/3,0))

short test with 3 cells containing -2.5 each....2 blank cells...
result is -3

if you want to round down the average, you can take a look at INT() function
on help files....

regards,
driller
--
*****
birds of the same feather flock together..



"TwoDot" wrote:

I have 5 cells in a row. I want to average the 3 lowest numbers in those
five cells and round up to the next integer.

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
Evaluating One Column To Give A Answer To A Third YouthHelp Excel Worksheet Functions 1 September 22nd 06 04:18 PM
evaluating text cell contents Dave B Excel Discussion (Misc queries) 1 January 3rd 06 10:51 PM
Evaluating Today() function only once in a worksheet BW Excel Worksheet Functions 4 October 5th 05 10:32 PM
Evaluating Rank to determine formula Mary Excel Worksheet Functions 5 September 10th 05 05:33 AM
Evaluating similarity of text strings Alan Excel Worksheet Functions 6 March 30th 05 01:35 AM


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