Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sot sot is offline
external usenet poster
 
Posts: 19
Default Function to get data out of a list using criteria

I have a list on one sheet which is essentially a list of names with a group
code allocated to them in the first column. ie column A has in P, OB, A etc
Column B has a name. The group code is not unique to one item so there maybe
6 P's etc. In a seperate sheet I wanted to create a list of all the items
from the first sheet allocated to Group P or group A or Group OB.

Any help, greatfully received.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Function to get data out of a list using criteria

Hi

Use Advanced Filter.
Start from a new sheet and enter the word Code in cells A1:C1
In A2 enter P, in B3 enter A and in C4 enter OB
DataFilterAdvanced FilterCopy to new location
List Range point to your data source range on Sheet1
Criteria Range Sheet2!$A$1:$C$4
Destination Sheet2!$A$6:$B$6


--
Regards
Roger Govier

"sot" wrote in message
...
I have a list on one sheet which is essentially a list of names with a
group
code allocated to them in the first column. ie column A has in P, OB, A
etc
Column B has a name. The group code is not unique to one item so there
maybe
6 P's etc. In a seperate sheet I wanted to create a list of all the items
from the first sheet allocated to Group P or group A or Group OB.

Any help, greatfully received.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sot sot is offline
external usenet poster
 
Posts: 19
Default Function to get data out of a list using criteria

Hi Roger
This definately does the job, but I was hoping for a more automated method,
such as a formula as the data in the master list will change frequently and
also the Data being extracted by code needs to be in different sections of
the sheet.?

"Roger Govier" wrote:

Hi

Use Advanced Filter.
Start from a new sheet and enter the word Code in cells A1:C1
In A2 enter P, in B3 enter A and in C4 enter OB
DataFilterAdvanced FilterCopy to new location
List Range point to your data source range on Sheet1
Criteria Range Sheet2!$A$1:$C$4
Destination Sheet2!$A$6:$B$6


--
Regards
Roger Govier

"sot" wrote in message
...
I have a list on one sheet which is essentially a list of names with a
group
code allocated to them in the first column. ie column A has in P, OB, A
etc
Column B has a name. The group code is not unique to one item so there
maybe
6 P's etc. In a seperate sheet I wanted to create a list of all the items
from the first sheet allocated to Group P or group A or Group OB.

Any help, greatfully received.


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
Select data from list without duplicates on a certain criteria Niju David Excel Discussion (Misc queries) 8 October 20th 08 07:22 PM
populate data valadation list by criteria John in Surrey Excel Worksheet Functions 1 November 9th 05 10:07 AM
data validation list should have opt. to select based on criteria be Excel Worksheet Functions 1 September 15th 05 01:05 PM
If function using a list of criteria arran1180 Excel Discussion (Misc queries) 1 February 17th 05 04:31 PM
Function that filters a list (Database) for criteria in a range a. FirstVette52 Excel Worksheet Functions 0 February 8th 05 04:37 PM


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