Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Vlookup Help Please

Hi, could someone please help me with the following?

I have the following:

1. Worksheet named: Report has a dropdown list in cell B2 for a list of
Operations. These Operations are detailed

on Worksheet named: Operations. The defined name for these Operations =
Operations!$A$2:$A$12.

2. Worksheet named: Report has a dropdown list in cell B4 for a list of
Groups. These Groups are detailed on

Worksheet named: Groups. The defined name for these Groups =
Groups!$A$2:$A$29

What I need is a macro or code to do the following after the user has
selected both an Operation and a Group:

I need it to lookup column X for all the cells that contain the text:
"VACANT".

Then copy the entire rows (that contain the selected Operation, Group
and column X contains the text: "VACANT") and

copies the enire row or rows to a new workbook named: OMD Report.xls to
worksheet: named: Report.

If anyone could please help with this, it would be greatly appreciated.

Kind regards,

Chris.



*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Vlookup Help Please

Oops, I forgot to mention the following:

What I need is a macro or code to do the following after the user has
selected both an Operation and a Group:

I need it to lookup column X for all the cells that contain the text:
"VACANT" from the worksheet named: Data.

Then copy the entire row or rows (that contain the selected Operation,
Group and column X contains the text: "VACANT") to a new workbook named:
OMD Report.xls to worksheet: named: Report. The new workbook is on C:\
drive.

Cheers,

Chris.




*** Sent via Developersdex http://www.developersdex.com ***
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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
using a vlookup to enter text into rows beneath the vlookup cell Roger on Excel Excel Programming 1 November 29th 07 12:09 PM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? erikhs[_20_] Excel Programming 1 August 6th 06 06:18 PM


All times are GMT +1. The time now is 07:54 PM.

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"