Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default seggregation of rows based on values in column

hi .

i need an idea to go about with this kind of a requirement:

i have to create a macro whereby my input file has a
sheet "X", which has a column customer_info. this sheet
has around 20000 lines. I have divide this sheet into 5
other sheets based on the value in the
column 'customer_info'.

Now the column has around 20 differnet values in the 20000
rows. I have to segrigate sheets based on values like:

A0DAUA (all rows with this values say 5000 rows will be
copied and pasted in sheet "A")
GGG0DAUA (all rows with this values say 5000 rows will be
copied and pasted in sheet "B")
XXXD098 (all rows with this values say 5000 rows will be
copied and pasted in sheet "C")
DGHJSLK (all rows with this values say 1000 rows will be
copied and pasted in sheet "D")

and all the remaining values (4000 rows) in one sheet "E"

What should the approach I should follow...how can i trap
all those with value A0DAUA or GGG0DAUA or XXXD098 ....
and seggregate them...

i hope i am clear...

pls suggest.

thanks in advance...

monica

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default seggregation of rows based on values in column

check out data, auto-filter;

"monica" wrote in message
...
hi .

i need an idea to go about with this kind of a requirement:

i have to create a macro whereby my input file has a
sheet "X", which has a column customer_info. this sheet
has around 20000 lines. I have divide this sheet into 5
other sheets based on the value in the
column 'customer_info'.

Now the column has around 20 differnet values in the 20000
rows. I have to segrigate sheets based on values like:

A0DAUA (all rows with this values say 5000 rows will be
copied and pasted in sheet "A")
GGG0DAUA (all rows with this values say 5000 rows will be
copied and pasted in sheet "B")
XXXD098 (all rows with this values say 5000 rows will be
copied and pasted in sheet "C")
DGHJSLK (all rows with this values say 1000 rows will be
copied and pasted in sheet "D")

and all the remaining values (4000 rows) in one sheet "E"

What should the approach I should follow...how can i trap
all those with value A0DAUA or GGG0DAUA or XXXD098 ....
and seggregate them...

i hope i am clear...

pls suggest.

thanks in advance...

monica



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
How can I number rows based on unique values in another column? Carla Excel Worksheet Functions 4 January 7th 10 06:03 AM
Deleting rows based on column values Dazed and Confused[_2_] New Users to Excel 3 February 6th 09 10:47 PM
Summing rows based on other column values jonny Excel Worksheet Functions 7 January 28th 09 11:45 PM
Column seggregation Dimri Excel Discussion (Misc queries) 2 September 13th 06 11:39 AM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


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