Split out multiple dates in a cell created by: Alt+ Enter

TheHack22

Board Regular
Joined
Feb 3, 2021
Messages
121
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi All,

I don't know to write VBA, but I have adopted and edited syntax in the past. But I can't figure out how to do this.

I inherited a file at work with few thousands of lines. The ID# is in column A - Col B has multiple lines of data (Dates) in a single cell(Created Alt+Enter) for that same location. I would like split out the dates - add a new lines for each date in column B, while retain the ID Loc # for these dates in column A. Can someone please help me with this, if it's Possible to achieve in VBA? Please see sample file for your reference.

Thank you
Imran
1619031630035.png
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
No problem, Imran. My note was completely informative.

Yes, that's correct. If you received a working solution that solved your question, then just click on the checkmark icon next to the "solution post". So, future readers can see the solution faster.

Thanks, and Welcome to the MrExcel Board!
Thanks again
 
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,337
Members
448,568
Latest member
Honeymonster123

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