Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: How to compute average, min and max figures?

Hello,

I need to compute the average , maximum and minimum price in Table 2 from
raw data in Table 1:

Table 1
A B C D
Model Price
1 L32 200
2 L32 250
3 L32 350
4 B64 150
5 B64 120
6 B64 110
7 B64 135
8 K32 980
9 K32 780
10 K32 880
11 K32 960
12 K32 910


Table 2
Average Max Min
20 L32 xxx xxx xxx
21 B64 xxx xxx xxx
22 K32 xxx xxx xxx


May I know if there is a way to input formulas at Cell B20,C20 and D20 and
copy down to get the answers ?

Thanks

Low


--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Excel 2002: How to compute average, min and max figures?

You can use three array* formulae, as follows:

B20: =AVERAGE(IF($A$1:$A$12=$A20,$B$1:$B$12))
C20: =MAX(IF($A$1:$A$12=$A20,$B$1:$B$12))
D20: =MIN(IF($A$1:$A$12=$A20,$B$1:$B$12,10E10))

Then copy these down the next two rows.

*An array formula needs to be committed using the key combination of
Ctrl-Shift-Enter (CSE), rather than the usual <Enter. If you do this
correctly then Excel will wrap curly braces { } around the formula
when viewed in the formula bar - do not type these yourself. Use CSE
again if you subsequently edit/amend the formula.

Hope this helps.

Pete


On Aug 19, 3:18*pm, Mr. Low wrote:
Hello,

I need to compute the average , maximum and minimum price in Table 2 from
raw data in Table 1:

* * * * Table 1 * * * * * * * *
* * * * A * * * B * * * C * * * D
* * * * Model * Price * * * * *
1 * * * L32 * * 200 * * * * * *
2 * * * L32 * * 250 * * * * * *
3 * * * L32 * * 350 * * * * * *
4 * * * B64 * * 150 * * * * * *
5 * * * B64 * * 120 * * * * * *
6 * * * B64 * * 110 * * * * * *
7 * * * B64 * * 135 * * * * * *
8 * * * K32 * * 980 * * * * * *
9 * * * K32 * * 780 * * * * * *
10 * * *K32 * * 880 * * * * * *
11 * * *K32 * * 960 * * * * * *
12 * * *K32 * * 910 * * * * * *

* * * * Table 2 * * * * * * * *
* * * * * * * * Average Max * * Min
20 * * *L32 * * xxx * * xxx * * xxx
21 * * *B64 * * xxx * * xxx * * xxx
22 * * *K32 * * xxx * * xxx * * xxx

May I know if there is a way to input formulas at Cell B20,C20 and D20 and
copy down to get the answers ?

Thanks

Low

--
A36B58K641


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel 2002: How to compute average, min and max figures?

Check your other post.

Mr. Low wrote:

Hello,

I need to compute the average , maximum and minimum price in Table 2 from
raw data in Table 1:

Table 1
A B C D
Model Price
1 L32 200
2 L32 250
3 L32 350
4 B64 150
5 B64 120
6 B64 110
7 B64 135
8 K32 980
9 K32 780
10 K32 880
11 K32 960
12 K32 910


Table 2
Average Max Min
20 L32 xxx xxx xxx
21 B64 xxx xxx xxx
22 K32 xxx xxx xxx

May I know if there is a way to input formulas at Cell B20,C20 and D20 and
copy down to get the answers ?

Thanks

Low

--
A36B58K641


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: How to compute average, min and max figures?

Hello Pete,

Thanks for your help.

Low


--
A36B58K641


"Pete_UK" wrote:

You can use three array* formulae, as follows:

B20: =AVERAGE(IF($A$1:$A$12=$A20,$B$1:$B$12))
C20: =MAX(IF($A$1:$A$12=$A20,$B$1:$B$12))
D20: =MIN(IF($A$1:$A$12=$A20,$B$1:$B$12,10E10))

Then copy these down the next two rows.

*An array formula needs to be committed using the key combination of
Ctrl-Shift-Enter (CSE), rather than the usual <Enter. If you do this
correctly then Excel will wrap curly braces { } around the formula
when viewed in the formula bar - do not type these yourself. Use CSE
again if you subsequently edit/amend the formula.

Hope this helps.

Pete


On Aug 19, 3:18 pm, Mr. Low wrote:
Hello,

I need to compute the average , maximum and minimum price in Table 2 from
raw data in Table 1:

Table 1
A B C D
Model Price
1 L32 200
2 L32 250
3 L32 350
4 B64 150
5 B64 120
6 B64 110
7 B64 135
8 K32 980
9 K32 780
10 K32 880
11 K32 960
12 K32 910

Table 2
Average Max Min
20 L32 xxx xxx xxx
21 B64 xxx xxx xxx
22 K32 xxx xxx xxx

May I know if there is a way to input formulas at Cell B20,C20 and D20 and
copy down to get the answers ?

Thanks

Low

--
A36B58K641



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 2002: Max, Min and Average formulas Mr. Low Excel Discussion (Misc queries) 3 August 25th 08 02:32 PM
Excel 2002 AVERAGE Function ELB Excel Discussion (Misc queries) 1 May 2nd 07 02:36 AM
Conditional Statement to Compute Average goudmic Excel Worksheet Functions 1 August 25th 06 03:14 PM
How do i compute the average value of 100 iterations? il_102 Excel Worksheet Functions 4 November 23rd 05 04:29 PM
average function in Excel 2002 Sherry New Users to Excel 13 May 8th 05 01:49 PM


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