Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, could someone please help me with the following?
I have done the following: 1. Worksheet named: Report has a dropdown list in cell B2 for a list of Operations. The Operations are populated on worksheet named: Data in column B. I made a list of these operations on worksheet named: Operations and gave this list a defined name = Operations!$A$2:$A$12. This was done so that I could let the user click on drop-down lists in column B (on worksheet named: Data) to select an appropriate Operation. 2. Worksheet named: Report has a dropdown list in cell B4 for a list of Groups. These Groups are populated on worksheet named: Data in column C. I made a list of these groups on worksheet named: Groups and gave this list a defined name = Groups!$A$2:$A$29. This was done so that I could let the user click on drop-down lists in column C (on worksheet named: Data) to select an appropriate Group. The following is an example of what I need: For example: when the user clicks on the Report tab and then clicks on cell B2 (drop-down list) to select an Operation (The Operations are populated on worksheet named: Data in column B), and then clicks on cell B4 (drop-down list) to select a Group (The Groups are populated on worksheet named: Data in column C), I need some code or macro that will automatically lookup column X (on the worksheet named: Data) and select all the cells in column X that contain the text: "VACANT". If there are any matching records (a record being one row of data on worksheet named: Data) for these three criteria (Operation, Group and cells in column X that contain the text: "VACANT"), then I need the code or macro to copy the record (entire record from the worksheet named: Data) to a new workbook named: OMD Report.xls and paste it onto worksheet named: Report (paste on cell A2). This new workbook is located on c:\ drive. If anyone could please help with this, it would be greatly appreciated. Kind regards, Chris. *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lookup help. lookup result based on data in 2 columns | Excel Worksheet Functions | |||
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU | Excel Discussion (Misc queries) | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Sumproduct - Condition based on lookup of a Lookup | Excel Discussion (Misc queries) | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |