column to line

knobi

New Member
Joined
Jan 7, 2008
Messages
36
Office Version
  1. 365
Platform
  1. Windows
Hello is it possible to do the following with excel 2010 :

Code:
[COLOR="Red"]input :[/COLOR]
[B]     col1 col2 col3 col4 col5 col6 col7...[/B]
[B]lin1[/B] val1 val2 val3 val4
[B]lin2[/B]      val5 val6
[B]lin3[/B]      val7 val8 val9 val10
[B]lin4[/B] val1 val2 val3 val4
[B]lin5[/B]      val5 val6
[B]lin6[/B]      val7
  .
  .
  . 
(100 times)

[COLOR="Red"]output:[/COLOR]
[B]     col1 col2 col3 col4 col5 col6 col7 col8 col9 col10...[/B]
[B]lin1[/B] val1 val2 val3 val4 val5 val6 val7 val8 val9 val10
[B]lin2[/B] val1 val2 val3 val4 val5 val6 val7

the problem is... this group of values (input) repeats 100 times... and they also may vary the amount of values in the line (up to 10) and the amount of lines (up to 80)...

is there any "easy" or "near to easy" way to do this without go line by line formatting this ?
 

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).
COL1 = column A
COL2 = column B...

LIN1 = line 1
LIN2 = line 2...
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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