#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Vlookup

I have the table below - assume we're starting with row 1, col a. I want to
lookup the rate based on Job Type and Type of Time which is in the table
below that, ie Jones's rate who is in Assembly, would be $6.75. The Vlookup
formula: =vlookup(B2,a11:d13,2) works as long as Type of Time is 2 but not if
it's 3 or 4. Can anyone help please.

Employee Job Type Hrs. Worked Type of Time Rate Pay
Jones Assembly 5 2 $-
Smith QC 3 4 $-
Gray Sorter 7.5 3 $-
Kline Assembly 2 2 $-

Job Type 2-Full Time 3-Part Time 4-Overtime
Assembly $6.75 $5.75 $10.75
QC $7.00 $6.00 $11.00
Sorter $5.50 $5.00 $9.00

--
Trainer
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Vlookup

=INDEX($B$11:$D$13,MATCH(B2,$A$11:$A$13,0),MATCH(" *"&D2&"*",$B$10:$D$10,0))

--
Regards!
Stefi



€˛Trainer€¯ ezt Ć*rta:

I have the table below - assume we're starting with row 1, col a. I want to
lookup the rate based on Job Type and Type of Time which is in the table
below that, ie Jones's rate who is in Assembly, would be $6.75. The Vlookup
formula: =vlookup(B2,a11:d13,2) works as long as Type of Time is 2 but not if
it's 3 or 4. Can anyone help please.

Employee Job Type Hrs. Worked Type of Time Rate Pay
Jones Assembly 5 2 $-
Smith QC 3 4 $-
Gray Sorter 7.5 3 $-
Kline Assembly 2 2 $-

Job Type 2-Full Time 3-Part Time 4-Overtime
Assembly $6.75 $5.75 $10.75
QC $7.00 $6.00 $11.00
Sorter $5.50 $5.00 $9.00

--
Trainer

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
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 11:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"