#1   Report Post  
gcotterl
 
Posts: n/a
Default Matching cells

Here's my spreadsheet:

A B C

1 1 1
2 3 3
3 4 6
4 5 10
5 8 11
6 9
7 10
8
9
10
11
12
13


How do I get the matching numbers on the same rows, like:

A B C

1 1 1
2
3 3 3
4 4
5 5
6 6
7
8 8
9 9
10 10 10
11 11
12 13
13



  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

I would just re-create the columns.

1. Copy column A into D.
2. In E1 put:
=IF(COUNTIF(B:B,$A1),$A1,"")
3. Copy it over to F1 and then down as far as needed.
4. Select columns D thru F, copy them, and go to Edit
Paste Special Value. Press OK.
5. Delete column A thru C.

HTH
Jason
Atlanta, GA

-----Original Message-----
Here's my spreadsheet:

A B C

1 1 1
2 3 3
3 4 6
4 5 10
5 8 11
6 9
7 10
8
9
10
11
12
13


How do I get the matching numbers on the same rows, like:

A B C

1 1 1
2
3 3 3
4 4
5 5
6 6
7
8 8
9 9
10 10 10
11 11
12 13
13



.

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 do I compare data in two worksheets to find matching cells? Gary Excel Discussion (Misc queries) 4 March 2nd 06 09:04 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


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