Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I retrieve data based on multiple search criteria?

I want to retrieve a set of data from one spreadsheet based on multiple
search criteria into another worksheet. For example, I work in manufacturing
and I have performance data in one sheet for a given day by shift. I have
four crews that rotate on three shifts called A, B, C, & D crews. Each shift
has its own production data in a row and the sequence of shifts rotates over
time. I've had some luck with the 'index" function, but it is not retrieving
data by date; instead only the row that I indicate. I need a function to
search the entire range and then retrieve a row of information specific to
"date and crew" that corresponds with that crews information on that day.

Below is a sample of the worksheet where entries are made that I wish to
retrieve data by date and crew from:

Date Shift Operator Crew Produced Scrap
2/1/09 1 Jones C Crew 275,000 5000
2/1/09 2 Smith A Crew 225,000 7000
2/1/09 3 Carter B Crew 325,000 4000

The summary sheet that I wish for this data to be retrieved to is similar in
format but is a much larger sheet that has multiple purposes. However, I
need the data above pulled into it. Do I need a function that is a "IF" and
"AND" statement?

Please help.
Thanks
SO

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How do I retrieve data based on multiple search criteria?

The usual way is to setup AutoFilter on the original data. You can setup
separate criteria on each of the columns and only those rows meeting the
criteria will be displayed.

Then copy the visible rows and paste elsewhere.
--
Gary''s Student - gsnu200828


"ezaz123" wrote:

I want to retrieve a set of data from one spreadsheet based on multiple
search criteria into another worksheet. For example, I work in manufacturing
and I have performance data in one sheet for a given day by shift. I have
four crews that rotate on three shifts called A, B, C, & D crews. Each shift
has its own production data in a row and the sequence of shifts rotates over
time. I've had some luck with the 'index" function, but it is not retrieving
data by date; instead only the row that I indicate. I need a function to
search the entire range and then retrieve a row of information specific to
"date and crew" that corresponds with that crews information on that day.

Below is a sample of the worksheet where entries are made that I wish to
retrieve data by date and crew from:

Date Shift Operator Crew Produced Scrap
2/1/09 1 Jones C Crew 275,000 5000
2/1/09 2 Smith A Crew 225,000 7000
2/1/09 3 Carter B Crew 325,000 4000

The summary sheet that I wish for this data to be retrieved to is similar in
format but is a much larger sheet that has multiple purposes. However, I
need the data above pulled into it. Do I need a function that is a "IF" and
"AND" statement?

Please help.
Thanks
SO

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
How do I retrieve data based on multiple search criteria? ezaz123 Excel Worksheet Functions 0 January 20th 09 04:56 AM
Retrieve data when multiple criteria need to be met [email protected] Excel Discussion (Misc queries) 6 June 13th 08 06:03 PM
How to retrieve a value based on 2 different criteria littlejess22 Excel Worksheet Functions 2 August 23rd 07 09:34 AM
How to retrieve multiple values in multiple rows with one criteria bac Excel Discussion (Misc queries) 2 June 15th 07 08:57 PM
QUICK HELP - Retrieve value based on two column criteria jay Excel Discussion (Misc queries) 1 September 23rd 05 01:20 AM


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

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"