Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
new and green
 
Posts: n/a
Default Show only the first occurance in spreadsheet

I have a very large s/s that has a lot of recurring data in it. It is broken
into sections (not w/s) by date. I need to see only the first occurance of
each name in each section. For example, here is a sample:

1/1/2005
Time Reader Person
5:53:40 AM 0 Doe, John
5:56:35 AM 3 Smith, Mary
6:10:31 AM 0 Doe, John
6:14:19 AM 13 Doe, John
6:34:57 AM 13 Brown, Harry
6:37:31 AM 11 Smith, Mary

1/1/2005
5:49:48 AM 0 Smith, Mary
5:53:24 AM 3 Smith, Mary
5:56:44 AM 0 Brown, Harry
6:10:34 AM 13 Doe, John
6:11:01 AM 13 Brown, Harry
6:18:57 AM 11 Smith, Mary

What I want to see is this:

1/1/2005
Time Reader Person
5:53:40 AM 0 Doe, John
5:56:35 AM 3 Smith, Mary
6:34:57 AM 13 Brown, Harry

1/1/2005
5:49:48 AM 0 Smith, Mary
5:56:44 AM 0 Brown, Harry
6:10:34 AM 13 Doe, John

TIA
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try the following...

1) Select Column B

2) Edit Go to Special Blanks OK

3) With blank cells highlighted, enter the following:

=""

4) Confirm with CONTROL+ENTER, not just ENTER

5) Enter a 0 (zero) in cell D2

6) Enter the following formula in D3 and copy down:

=IF(ISNA(MATCH(C3,INDEX($C$1:C2,MATCH(REPT("z",255 ),$B$1:B2)):C2,0)),LOOK
UP(9.99999999999999E+307,$D$1:D2)+1,"")

7) Select your entire table Data Filter AutoFilter and filter
Column D for 'NonBlanks'

8) Copy and paste your filtered table to another location

Hope this helps!

In article ,
"new and green" <new and wrote:

I have a very large s/s that has a lot of recurring data in it. It is broken
into sections (not w/s) by date. I need to see only the first occurance of
each name in each section. For example, here is a sample:

1/1/2005
Time Reader Person
5:53:40 AM 0 Doe, John
5:56:35 AM 3 Smith, Mary
6:10:31 AM 0 Doe, John
6:14:19 AM 13 Doe, John
6:34:57 AM 13 Brown, Harry
6:37:31 AM 11 Smith, Mary

1/1/2005
5:49:48 AM 0 Smith, Mary
5:53:24 AM 3 Smith, Mary
5:56:44 AM 0 Brown, Harry
6:10:34 AM 13 Doe, John
6:11:01 AM 13 Brown, Harry
6:18:57 AM 11 Smith, Mary

What I want to see is this:

1/1/2005
Time Reader Person
5:53:40 AM 0 Doe, John
5:56:35 AM 3 Smith, Mary
6:34:57 AM 13 Brown, Harry

1/1/2005
5:49:48 AM 0 Smith, Mary
5:56:44 AM 0 Brown, Harry
6:10:34 AM 13 Doe, John

TIA

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
Linking formula to external spreadsheet Tunde Excel Discussion (Misc queries) 1 March 1st 05 03:05 AM
I want ascending numbers to show up in a cell of my spreadsheet Karen M Excel Discussion (Misc queries) 1 February 8th 05 04:00 PM
UDF and Calculation tree Ken Wright Links and Linking in Excel 1 February 6th 05 04:58 PM
Applying Existing Password to New Spreadsheet Vic Excel Discussion (Misc queries) 1 January 27th 05 12:37 AM
I need to have only the values show in a spreadsheet. Debutante Excel Worksheet Functions 1 January 21st 05 06:59 PM


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