Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with Filtering data and matching two data sets?

Hello All

I have two sets of data:

- list of Jobs with one or many Competency requirements.
- list of Employees with their Competencies.

I would like to create a filter scheme that allows a user to enter
Job, and have Excel automatically match Employees with competencie
that are required by the Job.

For example,

Job 'Cashier - Cafeteria' requires two competencies from each employe
working on this Job. So, in this case, there are 4 employees with thes
competencies: Employee 4, Employee 7, Employee 8, Employee 9.

Similarly,

Job 'Cleaner' requires 9 competencies from each employee working o
this Job. In this case, there is only one employee with all
competencies: Employee 8.

The attached spreadsheet shows the data sets.

How would I achieve this? Thanks.

Masa

Attachment filename: sample.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=45654
--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default Help with Filtering data and matching two data sets?

Masai

I've got an answer that entails the creation of a User
Defined Function. The function is

Function IsVisible(x) As Boolean
IsVisible = True
If Rows(x.Row).Hidden = True Then IsVisible = False
End Function

With this function available, enter the formula =isvisible
(B2) in cell C2 of sheet OHR Job Quals. Copy down as
required. Use the Data, Filter, autofilter on columns A
and B.

In sheet Emp Quals, enter the heading Match in C1, then
enter the formula in C2 and copy down. Again generate an
autofilter on columns A:C inclusive.

Using the OHR sheet, select the Cashier - Cafeteria from
the Job name in column A. 2 entries appear. Then go to
sheet Emp Quals, and select True from the Match column. 4
entries appear. Similarly for the other scenario you
mentioned, but you will have to reselect the match for
each change in the Job name.

HTH

Tony

-----Original Message-----
Hello All

I have two sets of data:

- list of Jobs with one or many Competency requirements.
- list of Employees with their Competencies.

I would like to create a filter scheme that allows a user

to enter a
Job, and have Excel automatically match Employees with

competencies
that are required by the Job.

For example,

Job 'Cashier - Cafeteria' requires two competencies from

each employee
working on this Job. So, in this case, there are 4

employees with these
competencies: Employee 4, Employee 7, Employee 8,

Employee 9.

Similarly,

Job 'Cleaner' requires 9 competencies from each employee

working on
this Job. In this case, there is only one employee with

all 9
competencies: Employee 8.

The attached spreadsheet shows the data sets.

How would I achieve this? Thanks.

Masai

Attachment filename:

sample.xls
Download attachment:

http://www.excelforum.com/attachment.php?postid=456541
---
Message posted from http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with Filtering data and matching two data sets?

Hello Tony

Thank you for the solution. Just one question for clarification:

-You mentioned that "In sheet Emp Quals, enter the heading Match in C1
then enter the formula in C2 and copy down.". Do you mean the sam
function as entered on OHR Job Quals sheet, ie. =isvisible(b2) o
'=isvisible('OHR Job Quals'!B2)'?

When I enter either of these formula I get wrong matches.

I have uploaded the sample file with the formula so that you can se
what I am doing wrong.

Thanks

Masa

Attachment filename: sample.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=46042
--
Message posted from http://www.ExcelForum.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
Matching two sets of data? Zuo Excel Worksheet Functions 5 March 24th 10 02:25 AM
Excel graph 3 sets of data. 2 sets as lines 1 as column? AndyN Charts and Charting in Excel 2 July 11th 08 01:18 PM
Matching two different data sets tombradshawuk Excel Discussion (Misc queries) 0 November 17th 06 11:33 AM
Matching data in tables - Filtering Jo Davis Excel Discussion (Misc queries) 2 September 28th 05 04:02 PM
Filtering Columns to Align Matching Data Casino Guy Excel Worksheet Functions 4 September 15th 05 04:47 AM


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