View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default Multiple Criteria Lookup

Hi Jim,

Am Thu, 18 Oct 2012 12:30:30 +0000 schrieb JIMCREWE:

The premis is that a Company is selected in Col A, then a Role is
selected in Col B, then a Shift Time is selected in Col B, this will
then generate the relevant hourly rate using a table of rates on the
second worksheet.


in F10 try:
=IF(C10="Day Shift",INDEX(Rates!$C$6:$C$274,MATCH(A10&"|"&B10,R ates!$H$6:$H$274,0)),IF(C10="Night Shift",INDEX(Rates!$D$6:$D$274,MATCH(A10&"|"&B10,R ates!$H$6:$H$274,0)),IF(C10="Weekend",INDEX(Rates! $E$6:$E$274,MATCH(A10&"|"&B10,Rates!$H$6:$H$274,0) ),"Data Not Found")))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2