VBA code to collate data in different cells with same date

Misoboii

New Member
Joined
Jun 26, 2017
Messages
25
Hi, i have a problem here.

I have a huge list of data, with 9 columns: Date, A,B,C,D,E,F,G,H

I copied 2 set of Data (Date,A,B,C) and (Date,D,E,F,G,H) into 1 sheet together

After adding everything and filtering them by date, i have repeated dates, but some with data only in A,B,C and with the same date, only in C,D,E,F,G
eg:
date----------A-----B-----C------D------E------F------G------H
5/3/2011-----10-----20-----30-----__-----__-----__-----__-----__

5/3/2011-----__-----__-----__-----30-----50-----60-----10-----50

8/3/2011-----10-----20-----30-----__-----__-----__-----__-----__

9/3/2011-----__-----__-----__-----30-----50-----60-----10-----50

12/3/2011-----10-----20-----30-----__-----__-----__-----__-----__

12/3/2011-----__-----__-----__-----30-----50-----60-----10-----50
.
.
.
1.5k rows

I was wondering if there is a macro to combine all the repeated date cells data together into all 8 columns filled, while leaving the singular ones alone.

eg.
date----------A-----B-----C------D------E------F------G------H
5/3/2011-----10-----20-----30-----30-----50-----60-----10-----50

8/3/2011-----10-----20-----30-----__-----__-----__-----__-----__

9/3/2011-----__-----__-----__-----30-----50-----60-----10-----50

12/3/2011-----10-----20-----30-----30-----50-----60-----10-----50
.
.
.
1.5k rows

Any idea?

Thanks!
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Misoboii,

We can not use the flat text that you have displayed.

This means that if this was a problem where one needed to use your data, anyone trying to help you would have to enter the data manually. That makes no sense and I doubt that you would get an answer.


We would like more information. Please see the Forum Use Guidelines in the following link:

http://www.mrexcel.com/forum/board-announcements/127080-guidelines-forum-use.html


See reply #2 at the next link, if you want to show small screenshots, of the raw data, and, what the results should look like.

http://www.mrexcel.com/forum/about-board/508133-attachments.html#post2507729
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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