Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You guys have helped me before, so I am back.
I have 200 employees divided among 15 Supervisors. If I create an Excel spreadsheet cell with a drop-down menu of employees, once an employee is selected from that list, what formula can I use to have Excel populate the employees Supervisor name in a cell to the right? Example: (two cells €“ cell #1 selected through a drop-down menu €“ Cell #2 is automatically populated when a name is chosen in cell #1) Employee Supervisor John Smith Bill Thompson I have already created two separate columns, one with the employee names, the second with the Supervisor name. Thank you. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VLOOKUP
Gord Dibben MS Excel MVP On Mon, 8 Mar 2010 12:41:01 -0800, Joe wrote: You guys have helped me before, so I am back. I have 200 employees divided among 15 Supervisors. If I create an Excel spreadsheet cell with a drop-down menu of employees, once an employee is selected from that list, what formula can I use to have Excel populate the employee’s Supervisor name in a cell to the right? Example: (two cells – cell #1 selected through a drop-down menu – Cell #2 is automatically populated when a name is chosen in cell #1) Employee Supervisor John Smith Bill Thompson I have already created two separate columns, one with the employee names, the second with the Supervisor name. Thank you. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm still not there. I have tried this formula...
In cell B3: =VLOOKUP(A3,AA100:AA309,AB100:AB309) * Whereas A3 is the cell with the drop-down menu (created with data validation,) * AA100:AA309 is the column of data used to create the drop-down (the employee names,) and * AB100:AB309 is the column of data I want to populate (the Supervisor names) into cell B3. In the data source, the Supervisor name is in the column to the right of the corresponding employee name. Much the same way I want it to populate in the finished product. BACKGROUND: This database is to show the number of times an employee contacts the help center. Each person staffing the help center records the employee name, Supervisor, question asked, and the response. I need the two in separate Employee/Supervisor columns for sorting. Again, thank you. Joe |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Joe
Try it this way: =VLOOKUP(A3,AA100:Ab309,2,FALSE) HTH John "Joe" wrote in message ... I'm still not there. I have tried this formula... In cell B3: =VLOOKUP(A3,AA100:AA309,AB100:AB309) * Whereas A3 is the cell with the drop-down menu (created with data validation,) * AA100:AA309 is the column of data used to create the drop-down (the employee names,) and * AB100:AB309 is the column of data I want to populate (the Supervisor names) into cell B3. In the data source, the Supervisor name is in the column to the right of the corresponding employee name. Much the same way I want it to populate in the finished product. BACKGROUND: This database is to show the number of times an employee contacts the help center. Each person staffing the help center records the employee name, Supervisor, question asked, and the response. I need the two in separate Employee/Supervisor columns for sorting. Again, thank you. Joe |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"John" wrote:
Hi Joe Try it this way: =VLOOKUP(A3,AA100:Ab309,2,FALSE) HTH John John, That did the trick. However, if I copy/paste to all my cells, I noticed Excel had a tendency to update the entire formula. For example €“ instead of€¦ =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA100:AB309,2,FALSE) =VLOOKUP(A5,AA100:AB309,2,FALSE) =VLOOKUP(A6,AA100:AB309,2,FALSE) etc; I got€¦ =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA101:AB310,2,FALSE) =VLOOKUP(A5,AA102:AB311,2,FALSE) =VLOOKUP(A6,AA103:AB312,2,FALSE) It was no big deal to correct. I just thought it was interesting Excel updated everything. Again, thank you for your help and expertise. Joe |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Mar 12, 11:41*pm, Joe wrote:
"John" wrote: Hi Joe Try it this way: =VLOOKUP(A3,AA100:Ab309,2,FALSE) HTH John John, That did the trick. *However, if I copy/paste to all my cells, I noticed Excel had a tendency to update the entire formula. *For example – instead of… =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA100:AB309,2,FALSE) =VLOOKUP(A5,AA100:AB309,2,FALSE) =VLOOKUP(A6,AA100:AB309,2,FALSE) etc; I got… =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA101:AB310,2,FALSE) =VLOOKUP(A5,AA102:AB311,2,FALSE) =VLOOKUP(A6,AA103:AB312,2,FALSE) It was no big deal to correct. *I just thought it was interesting Excel updated everything. Again, thank you for your help and expertise. Joe Change your first formula to =VLOOKUP(A3,$AA$100:$AB$309,2,FALSE) then copy it down the column. the $ tells Excel to keep those cell references asis (static) instead of relative as per normal. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Joe
You're welcome. Type "Relative & Absolute' in Excel Help, this will bring up all the information you need when you copy formulas. Regards John "Joe" wrote in message ... "John" wrote: Hi Joe Try it this way: =VLOOKUP(A3,AA100:Ab309,2,FALSE) HTH John John, That did the trick. However, if I copy/paste to all my cells, I noticed Excel had a tendency to update the entire formula. For example €“ instead of€¦ =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA100:AB309,2,FALSE) =VLOOKUP(A5,AA100:AB309,2,FALSE) =VLOOKUP(A6,AA100:AB309,2,FALSE) etc; I got€¦ =VLOOKUP(A3,AA100:AB309,2,FALSE) =VLOOKUP(A4,AA101:AB310,2,FALSE) =VLOOKUP(A5,AA102:AB311,2,FALSE) =VLOOKUP(A6,AA103:AB312,2,FALSE) It was no big deal to correct. I just thought it was interesting Excel updated everything. Again, thank you for your help and expertise. Joe |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA: Column Select then Data Select then return to cell A1 | Excel Discussion (Misc queries) | |||
How to Pre-Select items in Multi-Select List on Form | Excel Programming | |||
error - select method failed - (columns.select) | Excel Programming | |||
Using formulas to select cells (Ex: Select every nth cell in a col | Excel Discussion (Misc queries) | |||
In Excel 2000, How do you select the whole of a worksheet (Select. | Excel Discussion (Misc queries) |