A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating a new table from another - filtering out unwanted data



 
 
Thread Tools Display Modes
  #1  
Old March 12th, 2010, 05:36 PM posted to microsoft.public.excel.worksheet.functions
Kamalii
external usenet poster
 
Posts: 3
Default Creating a new table from another - filtering out unwanted data

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!
  #2  
Old March 12th, 2010, 05:48 PM posted to microsoft.public.excel.worksheet.functions
Eva
external usenet poster
 
Posts: 316
Default Creating a new table from another - filtering out unwanted data

Hi
The best and most flexible way is to create a pivot table.
Data/Pivot table report/next/highlight your range - the best way is to
highlight all columns/next/layout/drag "Product" to row and No. of Pieces to
data (make sure that it shows you sum)/OK/finish
--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Kamalii" wrote:

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!

  #3  
Old March 12th, 2010, 06:00 PM posted to microsoft.public.excel.worksheet.functions
Kamalii
external usenet poster
 
Posts: 3
Default Creating a new table from another - filtering out unwanted dat

Thank you for your quick response.

However, I may have over simplified my example. I actually have several
columns that need to be transferred over. I'm not looking to summarize the
data (eg. sum of the number of pieces), just report a filtered list.

Pivot table works for my simple example, but not the real life more
complicated table that I'm actually dealing with. Is there another way?

"Eva" wrote:

Hi
The best and most flexible way is to create a pivot table.
Data/Pivot table report/next/highlight your range - the best way is to
highlight all columns/next/layout/drag "Product" to row and No. of Pieces to
data (make sure that it shows you sum)/OK/finish
--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Kamalii" wrote:

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!

  #4  
Old March 12th, 2010, 06:20 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default Creating a new table from another - filtering out unwanted dat

How about Advanced Filter, will it work for you?


"Kamalii" wrote:

Thank you for your quick response.

However, I may have over simplified my example. I actually have several
columns that need to be transferred over. I'm not looking to summarize the
data (eg. sum of the number of pieces), just report a filtered list.

Pivot table works for my simple example, but not the real life more
complicated table that I'm actually dealing with. Is there another way?

"Eva" wrote:

Hi
The best and most flexible way is to create a pivot table.
Data/Pivot table report/next/highlight your range - the best way is to
highlight all columns/next/layout/drag "Product" to row and No. of Pieces to
data (make sure that it shows you sum)/OK/finish
--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Kamalii" wrote:

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!

  #5  
Old March 12th, 2010, 06:28 PM posted to microsoft.public.excel.worksheet.functions
Kamalii
external usenet poster
 
Posts: 3
Default Creating a new table from another - filtering out unwanted dat

I don't think that solves the problem of moving this data from sheet1 to
sheet2, while automatically filtering it.

"Teethless mama" wrote:

How about Advanced Filter, will it work for you?


"Kamalii" wrote:

Thank you for your quick response.

However, I may have over simplified my example. I actually have several
columns that need to be transferred over. I'm not looking to summarize the
data (eg. sum of the number of pieces), just report a filtered list.

Pivot table works for my simple example, but not the real life more
complicated table that I'm actually dealing with. Is there another way?

"Eva" wrote:

Hi
The best and most flexible way is to create a pivot table.
Data/Pivot table report/next/highlight your range - the best way is to
highlight all columns/next/layout/drag "Product" to row and No. of Pieces to
data (make sure that it shows you sum)/OK/finish
--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Kamalii" wrote:

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!

  #6  
Old March 12th, 2010, 06:32 PM posted to microsoft.public.excel.worksheet.functions
Eva
external usenet poster
 
Posts: 316
Default Creating a new table from another - filtering out unwanted dat

Hi
Can you show us how it is really looks like and how should be presented in
the other sheet? It is very hard to figure out what to do when you don't see
the details
--


Greatly appreciated

Eva


"Kamalii" wrote:

Thank you for your quick response.

However, I may have over simplified my example. I actually have several
columns that need to be transferred over. I'm not looking to summarize the
data (eg. sum of the number of pieces), just report a filtered list.

Pivot table works for my simple example, but not the real life more
complicated table that I'm actually dealing with. Is there another way?

"Eva" wrote:

Hi
The best and most flexible way is to create a pivot table.
Data/Pivot table report/next/highlight your range - the best way is to
highlight all columns/next/layout/drag "Product" to row and No. of Pieces to
data (make sure that it shows you sum)/OK/finish
--
Please click "yes" if this post helped you!

Greatly appreciated

Eva


"Kamalii" wrote:

Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!

  #7  
Old March 13th, 2010, 11:26 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default Creating a new table from another - filtering out unwanted dat

Here's a simple way to set it up ...
Assume your source data as posted is in Sheet1, cols A to C,
data from row2 down, where col A = shipment #
In another sheet, eg Sheet2
Assume A2 will house the shipment no. eg: A
In B2: =IF(A$2="","",IF(Sheet1!A2=A$2,ROW(),""))
In C2:
=IF(ROWS($1:1)COUNT($B:$B),"",INDEX(Sheet1!B:B,SM ALL($B:$B,ROWS($1:1))))
Copy C2 to D2. Select B22, copy down to cover the max expected extent of
source data, eg down to D100. Minimize col B. The expected results for the
input in A2 will be returned in cols C and D, all neatly packed at the top.
Changing the input in A2 to say: B will return the associated lines. And if
you need more enquiry sheets to use simultaneously for various shipment nos,
just make copies of Sheet2. Success? hit YES below.
--
Max
Singapore
---
"Kamalii" wrote:
I don't think that solves the problem of moving this data from sheet1 to
sheet2, while automatically filtering it.


  #8  
Old March 14th, 2010, 07:34 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default Creating a new table from another - filtering out unwanted dat

Thought OP did illustrate what s/he wanted in that other sheet, in the
original post. I've suggested a way for OP to get it up in the other branch
of this thread, but there's always room for alternatives. Do feel free to
join in there with your options
--
Max
Singapore

"Eva" wrote in message
...
Can you show us how it is really looks like and how should be presented in
the other sheet? It is very hard to figure out what to do when you don't
see
the details



  #9  
Old March 14th, 2010, 11:17 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Creating a new table from another - filtering out unwanted data

Hi,

You may refer to question 7 at the following link -
http://ashishmathur.com/knowledgebaseII.aspx


--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Kamalii" wrote in message
...
Here is my table for sheet1:

Shipment No. Product No. of Pieces
A pencil 1
B pen 1
A eraser 1
A paper clip 2
B stamp 3
C ruler 1
B calculator 2

I am trying to create a new table in a new sheet (sheet2) that will list
all
the products and pieces that were part of shipment no. A

This is what I would like it to look like

Product No. of Pieces
pencil 1
eraser 1
paper clip 2

How do I go about doing this? Please help!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:29 AM.


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