Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Rearrange data in columns

Can anyone possibly suggest a solution to this small problem.
I'm sure it's very easy, but I just can't think of how to do it.

I have a worksheet with the following columns

A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
2 Y 876
1 X 6556
3 Y 554
1 X 222


I would like to create a table on a separate worksheet with the same column
headings, but only have a list of the type 'X' (i.e. ignore everything apart
from X)
Like this, without any blank rows between:
A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
1 X 6656
1 X 222

However, there are one or two restrictions...
Also, I cannot modify the original table (I cannot sort the data)
Occasionally, the columns are in a different order when I recieve the data
(therefore I name the columns are 'ranges' [in case it helps])

Hopefully I have explained my problem clearly.

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Rearrange data in columns

Hi

Use Advanced Filter, but be sure to start the filter from your Destination
worksheet.
Full details can be found at Debra Dalgleish's site
http://www.contextures.com/xladvfilter01.html

--
Regards
Roger Govier

"Alvarez" wrote in message
...
Can anyone possibly suggest a solution to this small problem.
I'm sure it's very easy, but I just can't think of how to do it.

I have a worksheet with the following columns

A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
2 Y 876
1 X 6556
3 Y 554
1 X 222


I would like to create a table on a separate worksheet with the same
column
headings, but only have a list of the type 'X' (i.e. ignore everything
apart
from X)
Like this, without any blank rows between:
A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
1 X 6656
1 X 222

However, there are one or two restrictions...
Also, I cannot modify the original table (I cannot sort the data)
Occasionally, the columns are in a different order when I recieve the data
(therefore I name the columns are 'ranges' [in case it helps])

Hopefully I have explained my problem clearly.

Thank you in advance.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Rearrange data in columns

Easiest would be to record a macro to filter on X, copy and paste to the new
sheet.

Otherwise you need to build a formula (using MATCH and INDIRECT is one way)
which will find the row nos of X and pull values from there.

"Alvarez" wrote:

Can anyone possibly suggest a solution to this small problem.
I'm sure it's very easy, but I just can't think of how to do it.

I have a worksheet with the following columns

A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
2 Y 876
1 X 6556
3 Y 554
1 X 222


I would like to create a table on a separate worksheet with the same column
headings, but only have a list of the type 'X' (i.e. ignore everything apart
from X)
Like this, without any blank rows between:
A B C
Quantity Type Distance(mm)
3 X 1243
1 X 2256
1 X 6656
1 X 222

However, there are one or two restrictions...
Also, I cannot modify the original table (I cannot sort the data)
Occasionally, the columns are in a different order when I recieve the data
(therefore I name the columns are 'ranges' [in case it helps])

Hopefully I have explained my problem clearly.

Thank you in advance.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Rearrange data in columns


Thanks for the suggestions folks.
Much appreciated.

A macro looks the only way forward as it's a template I'm creating and I'll
want to limit my input and data manipulation to as little as possible.

I was really hoping someone would suggest a function that I'd missed and
that it would be an easy solution.
:-(

Thanks again
:-)


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
Rearrange data into other columns JLatham Excel Discussion (Misc queries) 6 August 17th 08 01:45 AM
Help, please - How to rearrange 1 column of data into 4 columns ? Mark246 Excel Discussion (Misc queries) 7 February 22nd 08 04:32 AM
Rearrange two columns of data RexAtHighSpeed Excel Discussion (Misc queries) 1 December 20th 05 08:26 PM
Rearrange info in rows to columns - HELP! LaVerne Excel Discussion (Misc queries) 0 June 20th 05 09:40 PM
Rearrange data columns in Pivot Table hedrew3 Excel Discussion (Misc queries) 5 February 5th 05 07:44 AM


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