Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Largest number in column

I am working with football stats.

Column A is the player number. Column B is the yards for each play. A
typical sheet could look like:

<Player <Yards
10 21
10 14
10 7
14 1
14 3
10 22
14 11

I have a separate sheet that has each player number in a cell. I need to
find and display the longest yard made by each player.

10 (Longest Yards)
14 (Longest Yards)

Any help would be greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Largest number in column

In Sheet2 try the below formula..and copy down as required

Col A Col B
Player Max Yards
10 =MAX(IF((Sheet1!A1:A10=A2),Sheet1!B1:B10))
14 =

If this post helps click Yes
---------------
Jacob Skaria


"peteewheat11" wrote:

I am working with football stats.

Column A is the player number. Column B is the yards for each play. A
typical sheet could look like:

<Player <Yards
10 21
10 14
10 7
14 1
14 3
10 22
14 11

I have a separate sheet that has each player number in a cell. I need to
find and display the longest yard made by each player.

10 (Longest Yards)
14 (Longest Yards)

Any help would be greatly appreciated!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Largest number in column

Forgot to mention that this is an array formula. Within the cell in edit mode
(F2) paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

In Sheet2 try the below formula..and copy down as required

Col A Col B
Player Max Yards
10 =MAX(IF((Sheet1!A1:A10=A2),Sheet1!B1:B10))
14 =

If this post helps click Yes
---------------
Jacob Skaria


"peteewheat11" wrote:

I am working with football stats.

Column A is the player number. Column B is the yards for each play. A
typical sheet could look like:

<Player <Yards
10 21
10 14
10 7
14 1
14 3
10 22
14 11

I have a separate sheet that has each player number in a cell. I need to
find and display the longest yard made by each player.

10 (Longest Yards)
14 (Longest Yards)

Any help would be greatly appreciated!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Largest number in column

Super! Thanks for the very quick response!

"Jacob Skaria" wrote:

Forgot to mention that this is an array formula. Within the cell in edit mode
(F2) paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

In Sheet2 try the below formula..and copy down as required

Col A Col B
Player Max Yards
10 =MAX(IF((Sheet1!A1:A10=A2),Sheet1!B1:B10))
14 =

If this post helps click Yes
---------------
Jacob Skaria


"peteewheat11" wrote:

I am working with football stats.

Column A is the player number. Column B is the yards for each play. A
typical sheet could look like:

<Player <Yards
10 21
10 14
10 7
14 1
14 3
10 22
14 11

I have a separate sheet that has each player number in a cell. I need to
find and display the longest yard made by each player.

10 (Longest Yards)
14 (Longest Yards)

Any help would be greatly appreciated!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Largest number in column

Here is a non-array solution:

=SUMPRODUCT(MAX((Sheet1!A2:A12=A1)*Sheet1!B2:B12))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"peteewheat11" wrote:

I am working with football stats.

Column A is the player number. Column B is the yards for each play. A
typical sheet could look like:

<Player <Yards
10 21
10 14
10 7
14 1
14 3
10 22
14 11

I have a separate sheet that has each player number in a cell. I need to
find and display the longest yard made by each player.

10 (Longest Yards)
14 (Longest Yards)

Any help would be greatly appreciated!



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
Can I change the color of the largest number in a column? Bill Excel Discussion (Misc queries) 3 April 16th 08 01:07 PM
finding the largest value for a name in a column and then returningthe result from a different column [email protected] Excel Worksheet Functions 1 April 14th 08 10:08 AM
Count occurance of largest duplicate number in a single column ran catpro New Users to Excel 5 January 21st 07 05:10 PM
Counting the largest number of consecutive 1's in a column DavidS New Users to Excel 3 November 17th 06 11:19 AM
find the largest number in column Jack Excel Discussion (Misc queries) 5 April 13th 05 03:40 PM


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