Separate year of production

patko15

New Member
Joined
May 12, 2016
Messages
3
Hello everybody!


I have a very big database with car specifiactions, including the years of production like this:


2002-2008
2008-2013
2013-2015
2009-2013
2013-2015
2009-2014


As you can see, every value is different, and I need to split them; fill inbetween every year, and separate them with ;.


Example: 2002-2008 - should come back like this: 2002;2003;2004;2005;2006;2007;2008.


Any advice?


Thank you in advance!
Patko15
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Cross post: Separate year of production

Hi Patko15

Welcome to the board. :)

Same rule applies, i.e. we need you to cross reference cross posts. We realise though that these rules aren't obvious to newcomers. ;)

REgards
Jon
 
Upvote 0
If those values are in A1:A6

1. Select C1:I1
2. Enter: =TRANSPOSE(ROW(INDIRECT(SUBSTITUTE(A1,"-",":"))))
3. Commit with Control+Shift+Enter, not just Enter
4. Copy C1:I1
5: Paste to C2:I6
 
Upvote 0
If those values are in A1:A6

1. Select C1:I1
2. Enter: =TRANSPOSE(ROW(INDIRECT(SUBSTITUTE(A1,"-",":"))))
3. Commit with Control+Shift+Enter, not just Enter
4. Copy C1:I1
5: Paste to C2:I6

Thank You for the advices, and I can gladly pronunce that my problem was solved! I know that the best thing that I can do is to stay connected to this forum because the opportunities to learn are very much.
 
Upvote 0
I tried to mark this thread as SOLVED but there is no such function. I beg the moderators to mark this forum as [SOLVED]. Thank You!
 
Upvote 0
Thank You for the advices, and I can gladly pronunce that my problem was solved! I know that the best thing that I can do is to stay connected to this forum because the opportunities to learn are very much.
You're welcome.
 
Upvote 0

Forum statistics

Threads
1,215,313
Messages
6,124,201
Members
449,147
Latest member
sweetkt327

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