Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jack
 
Posts: n/a
Default split column into 4 columns

I need some assitance making a huge column into 4 columns. Here is the
scenerio:
Col A has any given rows of values / text. and I need to split into 4
columns But this is where it gets tricky.
a1 =a
a2=b
a3=c
a4=d
a5=e
a6=f
a7=g
etc...
I need b1=a, c1=b, d1=c, e1=d
b2=e, c2=f, d2=g, etc..
What is the best way to do this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default split column into 4 columns

Put this in B1:
=OFFSET($A$1,4*(ROW()-1)+COLUMN()-2,0)
drag across to fill B1:e1

and drag down until you run out of data.



Jack wrote:

I need some assitance making a huge column into 4 columns. Here is the
scenerio:
Col A has any given rows of values / text. and I need to split into 4
columns But this is where it gets tricky.
a1 =a
a2=b
a3=c
a4=d
a5=e
a6=f
a7=g
etc...
I need b1=a, c1=b, d1=c, e1=d
b2=e, c2=f, d2=g, etc..
What is the best way to do this?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Jack
 
Posts: n/a
Default split column into 4 columns

Dave,
One Word --- PERFECT!
Thank you!
One additional question? How would I incorporate an if statement so that the
'0's dont show up if there isnt data?


"Dave Peterson" wrote:

Put this in B1:
=OFFSET($A$1,4*(ROW()-1)+COLUMN()-2,0)
drag across to fill B1:e1

and drag down until you run out of data.



Jack wrote:

I need some assitance making a huge column into 4 columns. Here is the
scenerio:
Col A has any given rows of values / text. and I need to split into 4
columns But this is where it gets tricky.
a1 =a
a2=b
a3=c
a4=d
a5=e
a6=f
a7=g
etc...
I need b1=a, c1=b, d1=c, e1=d
b2=e, c2=f, d2=g, etc..
What is the best way to do this?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default split column into 4 columns

How about using a custom format like

General;-General;

otherwise

=IF(OFFSET($A$1,4*(ROW()-1)+COLUMN()-2,0)="","",OFFSET($A$1,4*(ROW()-1)+COLU
MN()-2,0))


--

Regards,

Peo Sjoblom


"Jack" wrote in message
...
Dave,
One Word --- PERFECT!
Thank you!
One additional question? How would I incorporate an if statement so that

the
'0's dont show up if there isnt data?


"Dave Peterson" wrote:

Put this in B1:
=OFFSET($A$1,4*(ROW()-1)+COLUMN()-2,0)
drag across to fill B1:e1

and drag down until you run out of data.



Jack wrote:

I need some assitance making a huge column into 4 columns. Here is the
scenerio:
Col A has any given rows of values / text. and I need to split into 4
columns But this is where it gets tricky.
a1 =a
a2=b
a3=c
a4=d
a5=e
a6=f
a7=g
etc...
I need b1=a, c1=b, d1=c, e1=d
b2=e, c2=f, d2=g, etc..
What is the best way to do this?


--

Dave Peterson



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Combining mutiple columns into one column noelcantona Excel Worksheet Functions 1 October 16th 05 06:18 PM
Stack multiple columns into one column... is there an easy way? Julian Excel Discussion (Misc queries) 2 September 16th 05 07:31 PM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
How to split one column into two? Robert Judge Excel Worksheet Functions 6 December 24th 04 06:36 PM


All times are GMT +1. The time now is 12:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"