ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need to Sort Data (https://www.excelbanter.com/excel-discussion-misc-queries/214849-need-sort-data.html)

Deepak

Need to Sort Data
 
I have a file as below
Which has Store Numbers in Coloum A
- all the store that are in coloum A are unique - no duplicate store numbers
- but every store will appear in one of the coloum in R1, R2 or R3 only once
- so if store 9562 is under R2 it will not reappear in any other R's
- so basically we are trying to figure out which store is coming under which
"R's"

Store R1 R2 R3
9562 2301 5640 8352
8352 8362 5641 6003
7805 5604 9562 6004
8362 5821 5645 6005
5675 5607 5646 6441
6378 5609 4587 7805
5821 5675 5652 6009
6441 7804 5664 6010
7010 6259 5682 6378
7508 5614 7508 6013
7804 5615 7010 6015
4587
6259
6985
1458
2301

The Result should be as below

Store R1 R2 R3
9562 2301 ---- 8352
8352 8362 ---- ----
7805 ---- 9562 ----
8362 5821 ---- ----
5675 ---- ---- 6441
6378 ---- 4587 7805
5821 5675 ---- ----
6441 7804 ---- ----
7010 6259 ---- 6378
7508 ---- 7508 ----
7804 ---- 7010 ----
4587
6259
6985
1458
2301

Any help is appreciated

Thank You
Deepak

Lars-Åke Aspelin[_2_]

Need to Sort Data
 
On Mon, 29 Dec 2008 14:40:04 -0800, Deepak
wrote:

I have a file as below
Which has Store Numbers in Coloum A
- all the store that are in coloum A are unique - no duplicate store numbers
- but every store will appear in one of the coloum in R1, R2 or R3 only once
- so if store 9562 is under R2 it will not reappear in any other R's
- so basically we are trying to figure out which store is coming under which
"R's"

Store R1 R2 R3
9562 2301 5640 8352
8352 8362 5641 6003
7805 5604 9562 6004
8362 5821 5645 6005
5675 5607 5646 6441
6378 5609 4587 7805
5821 5675 5652 6009
6441 7804 5664 6010
7010 6259 5682 6378
7508 5614 7508 6013
7804 5615 7010 6015
4587
6259
6985
1458
2301

The Result should be as below

Store R1 R2 R3
9562 2301 ---- 8352
8352 8362 ---- ----
7805 ---- 9562 ----
8362 5821 ---- ----
5675 ---- ---- 6441
6378 ---- 4587 7805
5821 5675 ---- ----
6441 7804 ---- ----
7010 6259 ---- 6378
7508 ---- 7508 ----
7804 ---- 7010 ----
4587
6259
6985
1458
2301

Any help is appreciated

Thank You
Deepak


See your other thread with the same question.

Lars-Åke


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com