Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
We use Excel 2003 for staff scheduling. Under each date (col C, D) we enter
the facility they are working at. At the bottom we want to return the initials (col B) of who is working at the facility JE. I tried =LOOKUP("JE",C2:C6,B2:B6) - that doesn't work correctly. My example should display BB, not MT. Any direction would be very appreciated. A B C D Name Initials 11/12 11/13 Bob B. BB JE JE Cathy K CK DT DT Bob S BS DT DT Mary MT DT DT Ann AM MO MO who JE MT |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Wonderful! That worked! Can you tell me what the Match type =0 means? I
have other applications for this function and I don't understand that part. Thanks so much. "Elkar" wrote: Try this: =INDEX(B2:B6,MATCH("JE",C2:C6,0)) HTH, Elkar "Machel" wrote: We use Excel 2003 for staff scheduling. Under each date (col C, D) we enter the facility they are working at. At the bottom we want to return the initials (col B) of who is working at the facility JE. I tried =LOOKUP("JE",C2:C6,B2:B6) - that doesn't work correctly. My example should display BB, not MT. Any direction would be very appreciated. A B C D Name Initials 11/12 11/13 Bob B. BB JE JE Cathy K CK DT DT Bob S BS DT DT Mary MT DT DT Ann AM MO MO who JE MT |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=INDEX(B2:B6,MATCH("JE",C2:C6,0)) HTH, Elkar "Machel" wrote: We use Excel 2003 for staff scheduling. Under each date (col C, D) we enter the facility they are working at. At the bottom we want to return the initials (col B) of who is working at the facility JE. I tried =LOOKUP("JE",C2:C6,B2:B6) - that doesn't work correctly. My example should display BB, not MT. Any direction would be very appreciated. A B C D Name Initials 11/12 11/13 Bob B. BB JE JE Cathy K CK DT DT Bob S BS DT DT Mary MT DT DT Ann AM MO MO who JE MT |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
A Match Type of 0 looks for an exact match to the lookup value. Since you
are looking for a specific text string, this is the only option that works. Other types 1 or -1 look for the closest match that is either greater than or less than the lookup value. These options really only make sense for numbers. You can find more info on this in the Excel Help file under the MATCH Function. HTH, Elkar "Machel" wrote: Wonderful! That worked! Can you tell me what the Match type =0 means? I have other applications for this function and I don't understand that part. Thanks so much. "Elkar" wrote: Try this: =INDEX(B2:B6,MATCH("JE",C2:C6,0)) HTH, Elkar "Machel" wrote: We use Excel 2003 for staff scheduling. Under each date (col C, D) we enter the facility they are working at. At the bottom we want to return the initials (col B) of who is working at the facility JE. I tried =LOOKUP("JE",C2:C6,B2:B6) - that doesn't work correctly. My example should display BB, not MT. Any direction would be very appreciated. A B C D Name Initials 11/12 11/13 Bob B. BB JE JE Cathy K CK DT DT Bob S BS DT DT Mary MT DT DT Ann AM MO MO who JE MT |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get Cell Address From Lookup (Alternative to Lookup) | Excel Worksheet Functions | |||
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) | |||
Advanced Lookup (lookup for 2 values) | Excel Worksheet Functions | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |