Combining text from 2 cells wrapped line for line.

Keljoe2804

New Member
Joined
Nov 5, 2014
Messages
25
Office Version
  1. 365
Platform
  1. Windows
I've created a log system for changes to my spreadsheet. In one column I have a history of due dates, in the other column I have the date they changed. See below.

This is one Cell
Due Date | Date Changed
4/9/23 2/18/23
3/23/23 3/2/23
12/1/23 3/5/23

What I'd like to do is combine these into one cell
4/9/23 - 2/18/23
3/23/23 - 3/2/23
12/1/23 - 3/5/23

With the common methods of combining cells I get this
4/9/23
3/23/23
12/1/23 - 2/18/23
3/2/23
3/5/23

VBA or formula is fine. I can run VBA on changes.

Thanks
 
What is your expected outcome?
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
The first 2 columns below hold the data I want to combine, the last column is an example of the output I'm looking for.

5/1/2023
7/1/2023
6/24/2023
3/1/2023
3/9/2023
3/20/2023
5/1/2023 - 3/1/2023
7/1/2023 - 3/9/2023
6/24/2023 - 3/20/2023
 
Upvote 0
But surely that's what the formula I suggested does.
 
Upvote 0
You are absolutely right, I must've not put it in correctly before. Sorry for the confusion. I'll mark that answer as the solution. Thanks so much!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

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