Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Split one coloumn into 2 in Excel

Hi,

I have an excel spreadsheet where I have a lot of values in coloumn A.
I want to split this into A and B. ( like a snake )

Coloumn A have: 1000, 1001, 1002, 1003 etc
I want to have A: 1000, B: 1001, A: 1002, B: 1003 etc

Is there an easy way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Split one coloumn into 2 in Excel

Hi,

Try this

Place this in B1
=INDEX(A:A,ROWS($1:1)*2-1)
Place this in C1
=INDEX(A:A,ROWS($1:1)*2)

Highlight both cells and drag down as far as you need.

HTH
Martin


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Split one coloumn into 2 in Excel

On 29 Mar, 13:55, "MartinW" wrote:
Hi,

Try this

Place this in B1
=INDEX(A:A,ROWS($1:1)*2-1)
Place this in C1
=INDEX(A:A,ROWS($1:1)*2)

Highlight both cells and drag down as far as you need.

HTH
Martin


Thanks for reply but I don't think this will solve it....

In my example I had 1000, 1001, 1002 etc. but further down this can
shift to 2005, 2010, 2027 etc
This is just numbers that are inserted as text and are not linear.

Maybe I should put an exampe with A, B, 1, 2, 3, C, H where I want A-
column to have A, 1, 3, H and the other ones in B coloumn

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Split one coloumn into 2 in Excel

Hi,
Did you try it as STATED?

It will do exactly as you ask. It doesn't discriminate as to what is
in the cell.

A1 will go to B1
A2 will go to C1
A3 will go to B2
A4 will go to C2
A5 will go to B3
A6 will go to C3
A7 will go to B4
A8 will go to C4
etc. etc.

In your revised example cols. B and C will look like this
A B
1 2
3 C
H

Once you have dragged it past the half way point of your data
it will return zero.

HTH
Martin


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
How to search data in one coloumn gibbs Excel Worksheet Functions 2 February 28th 07 05:21 AM
how to copare digits in two coloumn in Excel? ahmed Excel Worksheet Functions 2 February 16th 07 06:11 AM
How do i add up every other coloumn in a linked sheet abs Excel Worksheet Functions 1 October 9th 06 01:09 PM
How to make Unique coloumn in Excel sheet ? V JHANJI Excel Discussion (Misc queries) 2 March 9th 05 10:04 AM
about coloumn wide Vikrant Vaidya New Users to Excel 1 December 8th 04 08:09 AM


All times are GMT +1. The time now is 03:05 PM.

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

About Us

"It's about Microsoft Excel"