Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Max of 1 column for each unique entry in another column

I have a code complexity spreadsheet. Each entry has the module name, file
name, complexity number of the module. I want to filter the module with the
maximum complexity for each unique file name (displaying the entire line). I
am kind of new to Excel, so I am not sure how to do this. Any help is highly
appreciated.

I think this falls under Excel programming. If it is a different group,
please direct me. thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Max of 1 column for each unique entry in another column

Arun,

Use another column (let's say column D), with an array formula (entered with
ctrl-shift-enter) like

=MAX(IF($A$2:$A$1000=A2,$C$2:$C$100))=C2

Where Filenames are in column A, and the complexity numbers are in column C.
Note that this will not work if the complexity numbers are 'multi-decimal'
1.2.3.01

Copy that formula down, then filter based on column D, to show TRUE values.

HTH,
Bernie
MS Excel MVP


"Arun" wrote in message
...
I have a code complexity spreadsheet. Each entry has the module name, file
name, complexity number of the module. I want to filter the module with
the
maximum complexity for each unique file name (displaying the entire line).
I
am kind of new to Excel, so I am not sure how to do this. Any help is
highly
appreciated.

I think this falls under Excel programming. If it is a different group,
please direct me. thanks.



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
Count Unique Values in 1 Column based on Date Range in another Column Brian Excel Worksheet Functions 14 May 17th 09 02:58 PM
Restructuring column sequence to rows, based on a unique column. JokerFrowns Excel Programming 0 June 1st 07 03:23 PM
To find Multiple values in column B for a unique value in column A kishdaba Excel Worksheet Functions 2 November 14th 06 12:49 PM
Populate a column by extracting unique values from another column? Mike Palmer Excel Worksheet Functions 2 June 10th 05 03:21 PM
macro to transpose cells in Column B based on unique values in Column A Aaron J. Excel Programming 3 October 8th 04 02:29 PM


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