Hello, I have a project that is rather involved that I'm not sure how to go about doing. This project involves tracking vacations each year for employees in different departments. Currently, we are using an application that uses FoxPro which I have no familiarity with and only one person in our entire company does. Recently, we had a malfunction in the program and needed it fixed ASAP to be able to post vacation charts which are generated from the program, one chart for each dept which is exported to Excel. In each employees name, we will have their dept. code as well as a shift code which designates what shift they are on and what days they have off during the week respectively. Example for the Grocery Shifts - the dept code for a daylight shift is C61C and their are several different shift codes for it to designate the days off. There are many different codes, I think 44 in total right now, but I'll just list 3 of them for simplicity sake: "3", "7", and "R". So you could have C61C - 3, C61C - 7, and C61C - R.
I am ultimately looking to see if this function in the program we are currently using could ultimately work in Excel. This way should the person who has the knowledge of the program leave the company, we wouldn't be stuck if the program malfunctioned again. What I picture is having a chart template on its own tab that has a drop-down menu for the depts. and the shift codes. Cells A11 thru A42 and Cells B11 thru B42 would be the cells that contain Employee numbers and names respectively. These numbers and names would be looked up from a different tab and would actually change depending on what Dept. Code and Shift code is chosen from the Shift Drop-down menu that I mentioned above. Also, I would want it to automatically sort the populated names by seniority date which is actually contained in cells C11 thru C42 - Now those dates get tricky because we haev two groups of employees so those dates are actually looked up from two different tabs, not one.
I know how to do Index/match lookups when an employee number is typed in to return that specific value but not how to do lookups where when you type a code that fits multiple employees that it would bring multiple names up. So this would be my first hurdle. Is something like this possible to do? I'll give more specific info as to the other tabs but just first want to find out if it's doable.
I am ultimately looking to see if this function in the program we are currently using could ultimately work in Excel. This way should the person who has the knowledge of the program leave the company, we wouldn't be stuck if the program malfunctioned again. What I picture is having a chart template on its own tab that has a drop-down menu for the depts. and the shift codes. Cells A11 thru A42 and Cells B11 thru B42 would be the cells that contain Employee numbers and names respectively. These numbers and names would be looked up from a different tab and would actually change depending on what Dept. Code and Shift code is chosen from the Shift Drop-down menu that I mentioned above. Also, I would want it to automatically sort the populated names by seniority date which is actually contained in cells C11 thru C42 - Now those dates get tricky because we haev two groups of employees so those dates are actually looked up from two different tabs, not one.
I know how to do Index/match lookups when an employee number is typed in to return that specific value but not how to do lookups where when you type a code that fits multiple employees that it would bring multiple names up. So this would be my first hurdle. Is something like this possible to do? I'll give more specific info as to the other tabs but just first want to find out if it's doable.