Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default A formula to filter data and copy it from one worksheet to another

I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to input a
number (department code) and have it filter and copy the inventory from the
large inventory. In other words, I only want them to be able to call up
their individual inventories by simply inputing their code, without having to
see or worry about anything else.

Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default A formula to filter data and copy it from one worksheet to another

Define: large inventory of equipment.

How many rows and how many columns?

Biff

"GeneR" wrote in message
...
I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to
input a
number (department code) and have it filter and copy the inventory from
the
large inventory. In other words, I only want them to be able to call up
their individual inventories by simply inputing their code, without having
to
see or worry about anything else.

Any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default A formula to filter data and copy it from one worksheet to another

You can use programming and an Advanced Filter. There are examples he

http://www.contextures.com/excelfiles.html

Under Filters, look for 'FL0001 - Product List by Category' or 'FL0005 -
Phone List for Selected Name'

GeneR wrote:
I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to input a
number (department code) and have it filter and copy the inventory from the
large inventory. In other words, I only want them to be able to call up
their individual inventories by simply inputing their code, without having to
see or worry about anything else.

Any suggestions?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default A formula to filter data and copy it from one worksheet to ano

Approx. 18,000 rows and 12 - 15 columns.

Thanks

"Biff" wrote:

Define: large inventory of equipment.

How many rows and how many columns?

Biff

"GeneR" wrote in message
...
I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to
input a
number (department code) and have it filter and copy the inventory from
the
large inventory. In other words, I only want them to be able to call up
their individual inventories by simply inputing their code, without having
to
see or worry about anything else.

Any suggestions?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default A formula to filter data and copy it from one worksheet to ano

Formulas would not be the best approach. See Debra's reply.

Biff

"GeneR" wrote in message
...
Approx. 18,000 rows and 12 - 15 columns.

Thanks

"Biff" wrote:

Define: large inventory of equipment.

How many rows and how many columns?

Biff

"GeneR" wrote in message
...
I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to
input a
number (department code) and have it filter and copy the inventory from
the
large inventory. In other words, I only want them to be able to call
up
their individual inventories by simply inputing their code, without
having
to
see or worry about anything else.

Any suggestions?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default A formula to filter data and copy it from one worksheet to ano

If it makes any difference, the most any one department would have on their
inventory is probably 200 items with most of the departments only having less
than 75. The database can be sorted by department number.

"Biff" wrote:

Formulas would not be the best approach. See Debra's reply.

Biff

"GeneR" wrote in message
...
Approx. 18,000 rows and 12 - 15 columns.

Thanks

"Biff" wrote:

Define: large inventory of equipment.

How many rows and how many columns?

Biff

"GeneR" wrote in message
...
I currently have one worksheet setup that contains a large inventory of
equipment. I want to be able to setup another worksheet for users to
input a
number (department code) and have it filter and copy the inventory from
the
large inventory. In other words, I only want them to be able to call
up
their individual inventories by simply inputing their code, without
having
to
see or worry about anything else.

Any suggestions?






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default A formula to filter data and copy it from one worksheet to ano

Ok, if your data is sorted by the dept code you can try this and see if the
performance is acceptable.

THE DATA MUST BE SORTED BY THE DEPT CODE OR THIS WON'T WORK!

Here's a small sample file:

Filter.xls 26.5kb

http://cjoint.com/?kzekHu6Yq6

The sample file uses a much smaller data table than you describe, 20 rows by
5 columns, but you'll see the formula needed.

**The formula on Sheet2 B2 has been copied across to 5 columns then down to
enough rows that it covers the maximum expected number of matches. For
example, you say:

the most any one department would have on their inventory is probably
200 items with most of the departments only having less than 75.


So that means you would have to copy the formula to AT LEAST 200 rows.

For those who might be following this thread but don't want to/can't
download the sample file:

Data table on Sheet1 in the range A2:F20. The SORTED code numbers in column
A. The sort can be either ascending or descending, it doesn't matter.

Sheet2 A2 = user input of code number to filter.

Formula entered in Sheet2 B2:

=IF(ROWS(Sheet1!$1:1)<=COUNTIF(Sheet1!$A$2:$A$20,$ A$2),INDEX(Sheet1!$B$2:$F$20,MATCH($A$2,Sheet1!$A$ 2:$A$20,0)+ROWS($1:1)-1,COLUMNS($A:A)),"")

Copied across then down (see ** above).

Biff

"GeneR" wrote in message
...
If it makes any difference, the most any one department would have on
their
inventory is probably 200 items with most of the departments only having
less
than 75. The database can be sorted by department number.

"Biff" wrote:

Formulas would not be the best approach. See Debra's reply.

Biff

"GeneR" wrote in message
...
Approx. 18,000 rows and 12 - 15 columns.

Thanks

"Biff" wrote:

Define: large inventory of equipment.

How many rows and how many columns?

Biff

"GeneR" wrote in message
...
I currently have one worksheet setup that contains a large inventory
of
equipment. I want to be able to setup another worksheet for users
to
input a
number (department code) and have it filter and copy the inventory
from
the
large inventory. In other words, I only want them to be able to
call
up
their individual inventories by simply inputing their code, without
having
to
see or worry about anything else.

Any suggestions?








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
copy from B worksheet to A worksheet with NO repeated data tikchye_oldLearner57 Excel Discussion (Misc queries) 1 September 29th 06 06:56 PM
How can i copy and paste data when there is a filter in the worksheet.... dalipsinghbisht Excel Discussion (Misc queries) 5 March 18th 06 12:38 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Howdo U copy a formula down a column, that uses data in another w. Need Help pasting a formula Excel Worksheet Functions 1 February 25th 05 06:04 PM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM


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