finding duplicates and concatenate

PEDRO JANUARIO

New Member
Joined
Dec 28, 2013
Messages
2
Hi, i'm using excel 2008 for mac, so i can't run any VBA or macros, just formulas!

can any one help me??
i have this cells listed below

1B1C1D1E1F
DRAWINGDRAWINGDRAWINGDRAWINGDRAWING
ANAANAPEDROMARIAANA
4.0.54.0.64.0.74.0.84.0.5

<!--StartFragment--> <colgroup><col width="65" span="5"> </colgroup><tbody>
<!--EndFragment--></tbody>

and i want the result to bloke this

ANA is for example the name that i want to find

and i want to get this sort.

DRAWING
1B / 1C / 1F
4.0.5 / 4.0.6


<colgroup><col width="65"></colgroup><tbody>
</tbody>
THANKS
PEDRO
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
My first suggestion would be to normalize the data. In this case, it looks like you need to transpose it.

Next, filter on the ANA column.

Finally, use Remove Duplicates or similar functionality to achieve your result.
 
Upvote 0
well i'm doing a very complex schedule, i have 150 classes, 5 days, 9 classes schedules by day, with 160 professors, and 50 classrooms...
around 20000 entries


ORIGINALEXPECTED RESULT
MIARQ 1BMIARQ 1CMIARQ 1DMIARQ 1EMIARQ 1FANAPEDROMARIA
DRAWINGDRAWINGDRAWINGPAINTINGDRAWINGDRAWINGDRAWINGPAINTING
ANA / PEDROANAPEDROMARIAANAMIARQ 1B / MIARQ 1C / MIARQ 1FMIARQ 1B / MIARQ 1DMIARQ 1E
4.0.54.0.64.0.74.0.84.0.54.0.5 / 4,0,64.0.5 / 4.0.74.0.8

<tbody>
</tbody>




at the moment i have this formulas

for the classname =IF(ISERROR(INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A7;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)));"";INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A7;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)))
for the class itself =IF(ISERROR(INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A8;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)));"";INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A8;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)))
for the classroom =IF(ISERROR(INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A9;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)));"";INDEX('MATRIZ TURMA'!$D$5:$EY$158;$A9;MATCH(CONCATENATE("*";D$5;"*");'MATRIZ TURMA'!$D8:$EY8;0)))

but this formulas only applied the the MARIA case shown above. what i really need if wen i have duplicates..., tha it the ANA and PEDRO cases
 
Upvote 0

Forum statistics

Threads
1,214,424
Messages
6,119,400
Members
448,893
Latest member
AtariBaby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top