LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Duplicates, Comparison and Condensing

Hello everyone... I have a problem.

What I need to do is somewhat hard to put into words. I need to do two
things, at the same time, with a group of data. I have about 3,700
rows of data. Column 'B' has numeric codes in it. These are actually
DOE school codes (e.g. 001253, 002561, etc.). Each one of these codes
has about 5 columns associated with it. In these columns will be
either the number 0, 1, 2, or 3. Below is an example:

00125300 3 3 0 0 1
00125300 0 1 2 0 3
00125300 3 3 1 2 0
00125300 1 2 3 1 2
00125300 2 0 0 3 0

In this example, you have one school (00125300) listed 5 times due to
the school having 5 users. Each user has a different level of access
to certain tasks, which are represented by the numers 0-3. What I need
to do are the following:

1) Compare all five "users", and take the highest value and place in a
single row.

2) Identify that the school is listed 5 times, and delete 4 of the
duplicate entries.

So, in a nutshell, in the example above, I would would want to "end up"
with one row with the school code 00125300, and 5 columns of 3's...
Since each column has at least one 3 in it, that would be the highest
value.

00125300 3 3 3 3 3

So I need to recognize the duplicates, compare the values, take the
highest, put into one row, and delete the others. Impossible? It is
to me... Any help at this point would be greatly appreciated!! Thank
you all for taking the time to try to make sense of this!!

 
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
Condensing VBA code Brad Excel Discussion (Misc queries) 3 September 9th 09 05:51 PM
Condensing a list with duplicates to a list with non-duplicates Nuclear Excel Worksheet Functions 2 July 29th 08 08:03 PM
Condensing Columns hugsnwally New Users to Excel 0 February 11th 08 10:18 PM
Condensing data from 3D to 2D Garbin Excel Worksheet Functions 7 December 5th 07 06:29 PM
Condensing Formula phil2006 Excel Discussion (Misc queries) 6 June 7th 06 12:57 PM


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