LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default selecting values from raw data

The LARGE( ) function will enable you to obtain the top five numeric
values in column AE of Sheet 1. In Sheet 2 you could enter this formula
in A2 (for example, with your headings in row 1):

=LARGE('Sheet 1'!AE$2:AE$20,1)

assuming that your data occupies rows 2 to 20 in Sheet 1. Copy the
formula down into A3, A4, A5, and A6, and then edit it to change the 1
at the end to 2, 3, 4, 5 etc, so that you have this:

A2: =LARGE('Sheet 1'!AE$2:AE$20,1)
A3: =LARGE('Sheet 1'!AE$2:AE$20,2)
A4: =LARGE('Sheet 1'!AE$2:AE$20,3)
A5: =LARGE('Sheet 1'!AE$2:AE$20,4)
A6: =LARGE('Sheet 1'!AE$2:AE$20,5)

although the cells will actually show the top 5 largest values from
column AE on Sheet 1.

You will then need to use the MATCH( ) function in conjunction with the
INDEX( ) function in order to return the other corresponding values in
adjacent cells, something like:

B2: =INDEX('Sheet 1'!N$2:N$20,MATCH($A2,'Sheet 1'!$AE$2:$AE$20,0))

This matches A2 in the summary sheet with its value in the raw data
sheet and returns the relative row where this occurs. The INDEX
function then uses this row number to retrieve the appropriate and
corresponding value from column N. This can be copied down into B3:B6.

The formula can also be copied across, but you will need to check that
the column reference in Sheet 1 is pointing to the correct columns O, P
and R, and then you can copy these down also.

Hope this helps.

Pete

 
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
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Get excel to list values that occur within raw data dennis34 Excel Discussion (Misc queries) 2 October 5th 05 12:09 PM
pivot table with selection values not included in the base data confused Charts and Charting in Excel 0 June 21st 05 02:42 PM
Selecting data from a list based on entered values GrantM Excel Discussion (Misc queries) 1 December 20th 04 10:59 AM
Can you average data in 1 column based on a range of values in another? kman24 Excel Worksheet Functions 2 November 17th 04 02:09 PM


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