how can I separate the different length data in a cell

zubair99

New Member
Joined
Aug 8, 2015
Messages
49
how can I separate the different length data in a cell. All rows has not same length of data I show a sample. I need
separate YEARS to the next column for all rows. I have 30 thousand rows like these.

I need automatic solution for this.

Audi Q7 2013

<tbody>
</tbody>
2013
Audi R8 Spyder 2016

<tbody>
</tbody>
Audi S7 2016

<tbody>
</tbody>
BAIC A1 Hatchback 2016

<tbody>
</tbody>
Bentley Continental Flying Spur 2013

<tbody>
</tbody>
Mercedes-Benz GL-Class 2015

<tbody>
</tbody>
Cadillac XLR 2007

<tbody>
</tbody>
Lamborghini Aventador Roadster 2013

<tbody>
</tbody>
King Long Mini Van 2016

<tbody>
</tbody>
Aston Martin V8 Vantage Roadster 2010

<tbody>
</tbody>

<tbody>
</tbody>




















Thanks in Advance
-zubair
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Excel 2010
AB
1Audi Q7 20132013
2Audi R8 Spyder 20162016
3Audi S7 20162016
4BAIC A1 Hatchback 20162016
5Bentley Continental Flying Spur 20132013
6Mercedes-Benz GL-Class 20152015
7Cadillac XLR 20072007
8Lamborghini Aventador Roadster 20132013
9King Long Mini Van 20162016
10Aston Martin V8 Vantage Roadster 20102010
Sheet16
Cell Formulas
RangeFormula
B1=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),100))


or just =right(a1,4) if the rest of your data is in the same format
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,978
Messages
6,128,070
Members
449,418
Latest member
arm56

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