Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Return Data Matching Criteria in a separate spreadsheet

In Workbook A I am pulling information from one data base. In Workbook B I
am pulling information from another data base. In Workbook A I want to
incorporate some of the data from Workbook B that meets a certain criteria.

Workbook B data:

Lease ID Tenant Status

HO106909 ABC Company Active
HO107904 XYZ Company Inactive

In workbook A I want to retrieve only those leases that meet the status of
"Active. " Any ideas on how to accomplish this task working from Workbook A
--as Workbook B is automatically updated weekly? I would like to run a macro
to look for the data from Workbook B.

Thanks for your help.

KK


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Return Data Matching Criteria in a separate spreadsheet

Start recording a macro in workbook1
Go to workbook2
Filter on status
Copy visible cells
Paste in workbook1

Adjust the macro to your needs...


"KalliKay" wrote:

In Workbook A I am pulling information from one data base. In Workbook B I
am pulling information from another data base. In Workbook A I want to
incorporate some of the data from Workbook B that meets a certain criteria.

Workbook B data:

Lease ID Tenant Status

HO106909 ABC Company Active
HO107904 XYZ Company Inactive

In workbook A I want to retrieve only those leases that meet the status of
"Active. " Any ideas on how to accomplish this task working from Workbook A
--as Workbook B is automatically updated weekly? I would like to run a macro
to look for the data from Workbook B.

Thanks for your help.

KK


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Return Data Matching Criteria in a separate spreadsheet

Hi,

One simple method:

1. In workbook B turn on Data, Filter, AutoFiler
2. Open the filter for the Status column and choose Active.
3. Highlight the visible cells in the data area and copy
4. Switch to workbook A and choose Paste

1. These steps could be recorded into a macro.


--
Thanks,
Shane Devenshire


"KalliKay" wrote:

In Workbook A I am pulling information from one data base. In Workbook B I
am pulling information from another data base. In Workbook A I want to
incorporate some of the data from Workbook B that meets a certain criteria.

Workbook B data:

Lease ID Tenant Status

HO106909 ABC Company Active
HO107904 XYZ Company Inactive

In workbook A I want to retrieve only those leases that meet the status of
"Active. " Any ideas on how to accomplish this task working from Workbook A
--as Workbook B is automatically updated weekly? I would like to run a macro
to look for the data from Workbook B.

Thanks for your help.

KK


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Return Data Matching Criteria in a separate spreadsheet

I was trying to make it harder than it was. Thanks.

"Sheeloo" wrote:

Start recording a macro in workbook1
Go to workbook2
Filter on status
Copy visible cells
Paste in workbook1

Adjust the macro to your needs...


"KalliKay" wrote:

In Workbook A I am pulling information from one data base. In Workbook B I
am pulling information from another data base. In Workbook A I want to
incorporate some of the data from Workbook B that meets a certain criteria.

Workbook B data:

Lease ID Tenant Status

HO106909 ABC Company Active
HO107904 XYZ Company Inactive

In workbook A I want to retrieve only those leases that meet the status of
"Active. " Any ideas on how to accomplish this task working from Workbook A
--as Workbook B is automatically updated weekly? I would like to run a macro
to look for the data from Workbook B.

Thanks for your help.

KK


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
search worksheets in same book to return value matching criteria? Jane Doe[_3_] Excel Worksheet Functions 3 September 10th 08 10:43 PM
I want to use a link to return all data matching a criteria Dave Excel Worksheet Functions 2 July 26th 07 03:42 PM
Sorting and Matching criteria across rows to return a result in the last cell frankjh19701 Excel Worksheet Functions 8 April 3rd 07 02:19 PM
Return across Row Numeric Values Matching EXACT Month & Year for Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 October 22nd 06 11:30 PM
Return Numeric Values Matching EXACT Date for Criteria Sam via OfficeKB.com Excel Worksheet Functions 4 October 20th 06 11:20 PM


All times are GMT +1. The time now is 06:07 AM.

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"