Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Convert 1 row of data to columns


Hi,

My spreadsheet has 4 columns of data but I need to convert just the
column into a row.

Example:

Column A has the date
Column B has the 30 minute intervals starting from 09:00 to 17:00
Column C has the 5 different stocks (ABL, AGL; ANG; BAW;SLM) I wan
data for but each stock is listed multiple time per interval
Column D has the actual values of the stocks at the diffferen
intervals

I need to convert column C into 5 columns but retain the other column
data applicable to the various stocks so its easy to view in
table-like format.

Using copy/paste/tranpose feauture in Excel is not my solution so i
has to be an array formula (I think!).

Please help.

Thanks
Mohone

--
Mohone
-----------------------------------------------------------------------
Mohoney's Profile: http://www.excelforum.com/member.php...fo&userid=2662
View this thread: http://www.excelforum.com/showthread.php?threadid=39897

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Convert 1 row of data to columns

Hi Mohony,

I suggest the following appraoch:

Using columns F:J for the split info.
F1 = "ABL"
G1 = "AGL"
and so on

For F1 use the formula
'If($C2=F$1,F$1,"")

And copy this formula to the columns F:J for als the used rows.

HTH.

Wouter.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Convert 1 row of data to columns

Hi Wouter,

Thanks...it did help to some extent.

Much obliged.
Mohoney

"Executor" wrote:

Hi Mohony,

I suggest the following appraoch:

Using columns F:J for the split info.
F1 = "ABL"
G1 = "AGL"
and so on

For F1 use the formula
'If($C2=F$1,F$1,"")

And copy this formula to the columns F:J for als the used rows.

HTH.

Wouter.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Convert 1 row of data to columns

Hi Wouter,

Perhaps if I give you an example of what I have and what I requi

Currently, my SS displays data as:

A B C
D
date interval code Quantity
May 11 2005 09h00-09h10 AGL 5750
May 11 2005 09h10-09h20 AGL 800
May 11 2005 09h20-09h30 AGL 10121
May 12 2005 09h00-09h10 AGL 3333
May 12 2005 09h10-09h20 AGL 1421
May 12 2005 09h20-09h30 AGL 8364
May 11 2005 09h00-09h10 BAW 16935
May 11 2005 09h10-09h20 BAW 6000
May 11 2005 09h20-09h30 BAW 12225
May 12 2005 09h00-09h10 BAW 22527
May 12 2005 09h10-09h20 BAW 34858
May 12 2005 09h20-09h30 BAW 21659

......and what I require is.....

A B C
D
date interval AGL BAW
May 11 2005 09h00-09h10 5750 16935
May 11 2005 09h10-09h20 800 6000
May 11 2005 09h20-09h30 10121 12225
May 12 2005 09h00-09h10 3333 22527
May 12 2005 09h10-09h20 1421 34858
May 12 2005 09h20-09h30 8364 21659

Hope you can assist with this.

Much obliged,
Mohoney
-------------------------------------------------------------------------

"Executor" wrote:

Hi Mohony,

I suggest the following appraoch:

Using columns F:J for the split info.
F1 = "ABL"
G1 = "AGL"
and so on

For F1 use the formula
'If($C2=F$1,F$1,"")

And copy this formula to the columns F:J for als the used rows.

HTH.

Wouter.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Convert 1 row of data to columns


Hi Wouter,

Perhaps if I give you an example of what I have and what I requi

Currently, my SS displays data as:

A B C
D
date interval code
Quantity
May 11 2005 09h00-09h10 AGL 5750
May 11 2005 09h10-09h20 AGL 800
May 11 2005 09h20-09h30 AGL 10121
May 12 2005 09h00-09h10 AGL 3333
May 12 2005 09h10-09h20 AGL 1421
May 12 2005 09h20-09h30 AGL 8364
May 11 2005 09h00-09h10 BAW 16935
May 11 2005 09h10-09h20 BAW 6000
May 11 2005 09h20-09h30 BAW 12225
May 12 2005 09h00-09h10 BAW 22527
May 12 2005 09h10-09h20 BAW 34858
May 12 2005 09h20-09h30 BAW 21659

.....and what I require is.....

A B C
D
date interval AGL
BAW
May 11 2005 09h00-09h10 5750 16935
May 11 2005 09h10-09h20 800 6000
May 11 2005 09h20-09h30 10121 12225
May 12 2005 09h00-09h10 3333 22527
May 12 2005 09h10-09h20 1421 34858
May 12 2005 09h20-09h30 8364 21659

Hope you can assist with this.

Much obliged,
Mohoney


--
Mohoney
------------------------------------------------------------------------
Mohoney's Profile: http://www.excelforum.com/member.php...o&userid=26620
View this thread: http://www.excelforum.com/showthread...hreadid=398970



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
Convert muliple data into columns Savage Excel Discussion (Misc queries) 8 April 10th 06 05:14 PM
Convert 1 row of data into Multiple columns Mohoney Excel Discussion (Misc queries) 1 August 25th 05 12:36 PM
How do I convert some data in the row to columns? Colin T Excel Discussion (Misc queries) 4 August 17th 05 11:12 PM
Convert data from rows to columns boksic Excel Discussion (Misc queries) 4 July 4th 05 11:40 AM


All times are GMT +1. The time now is 11:31 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"