LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Merging row data in Column A has duplicate.

Is that really the expected answer?
Why not also include 11 C B?

Col1 Col2 Col3
10 A B
11 A B
11 C B
11 C D

Or why not

Col1 Col2 Col3
10 A B
11 A D
11 C B

Do you want all possible combinations in the final results? Or
anything, as long as all blanks are filled with something
corresponding to another row with the same ID?
Please clarify this seemingly random selection.

On Mar 15, 6:23*pm, Nikul Padhya wrote:
I have a worksheet, which has random but Sorted data already.
The column A has all the Id no. and rest of the columns have ether a
blank or a String data.

The Id in Column A can be duplicate in the preceding Row too.

Example
Col1 * *Col2 * *Col3
10 * * * A
10 * * * * * * * * B
11 * * * A
11 * * * C * * * *B
11 * * * * * * * * D

I want to merge the rows only if all the entire data can be copied.
(in case if Id 10)
but incase of Id 11 I want to merge the data such as it does not over
write.
Expected answer

Col1 * *Col2 * *Col3
10 * * * A * * * *B
11 * * * A * * * *B
11 * * * C * * * *D

I have some partial knowledge
but I am confused, that should i use multiple for loop to gothrough
the columns again? or the is a function in excel.
Thanks everyone for trying in advance


 
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
VBA to delete Duplicate Records (1 column), before which, non-duplicate data merged into remaining row [email protected] Excel Programming 6 August 20th 09 02:40 AM
Combining and merging duplicate data. Darren Excel Discussion (Misc queries) 2 November 27th 08 02:38 PM
Merging data in multiple rows where the first cell has duplicate d Big Red Excel Discussion (Misc queries) 3 June 12th 07 09:25 AM
Merging duplicate data across multiple columns Richard Dex Excel Programming 2 April 27th 04 03:28 AM
Scanning for Duplicate Data in a Column, Merging Data and Finally Removing All Duplicates...? : VB : Excel Programming 2 August 24th 03 02:22 PM


All times are GMT +1. The time now is 01:56 AM.

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"