Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I remove repeating rows automatically in excel?

Dear All Excel Macro programmers

I need help on this: Let's say I have 5 row, each row with 3 columns:

kam POP 5
seng SOR 4
seng APDS 5
kam DS 6
kam MAM 4
boon PROJ 2
boon ENG 2
kam RAD 2

I want to produce data whose rows start with "kam", i.e.,

kam POP 5
kam DS 6
kam MAM 4
kam RAD 2

Note: no blank rows are produced, also I don't want to manually delete
any rows.

If I want to produce data whose rows start with "seng", then I should
get:

seng SOR 4
seng APDS 5


Is there any macro, program or excel function that can do what I want?


Thanks if you know the answer.
Frankie Kam
Coordinator SOCS Stamford College Malacca
Malaysia
15th November 2005

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How do I remove repeating rows automatically in excel?

Hi Frankie,

Look at Excel's built in Autofilter and Advanced filter features.

If you are nit familiar with these, see Debra Dalgleish's tutorials at:

http://www.contextures.com/xlautofilter01.html

and

http://www.contextures.com/xladvfilter01.html


---
Regards,
Norman


wrote in message
ups.com...
Dear All Excel Macro programmers

I need help on this: Let's say I have 5 row, each row with 3 columns:

kam POP 5
seng SOR 4
seng APDS 5
kam DS 6
kam MAM 4
boon PROJ 2
boon ENG 2
kam RAD 2

I want to produce data whose rows start with "kam", i.e.,

kam POP 5
kam DS 6
kam MAM 4
kam RAD 2

Note: no blank rows are produced, also I don't want to manually delete
any rows.

If I want to produce data whose rows start with "seng", then I should
get:

seng SOR 4
seng APDS 5


Is there any macro, program or excel function that can do what I want?


Thanks if you know the answer.
Frankie Kam
Coordinator SOCS Stamford College Malacca
Malaysia
15th November 2005



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
Macro to Automatically remove blank rows Jack Wood Excel Discussion (Misc queries) 4 May 26th 09 08:43 PM
Repeating rows in Excel Amy Excel Discussion (Misc queries) 1 April 9th 08 08:41 PM
How Do I set repeating numbered rows (in Excel)? Cassie New Users to Excel 3 March 19th 06 10:36 PM
How do I automatically remove carriage returns in Excel? Mike O. Excel Discussion (Misc queries) 4 February 18th 05 11:24 PM
Why have I got some repeating rows after a Excel 2003 sort Jayne Excel Discussion (Misc queries) 1 January 6th 05 05:34 PM


All times are GMT +1. The time now is 10:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"