View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Curtis Curtis is offline
external usenet poster
 
Posts: 181
Default Vlookup with conditions

Sorry, I do not thinkk I gave enough information for my request.
my current formula looks-up the contents in cell V5 in the rate table
$B$2:$F$226.

My problem now is I have 9 employees that get paid at a differetn rate (
located in column 4 in my Vlookup formula). I need to be able to have the
contents of j5:j4000 trigger the vlookup to either column 3 or 4

Sorry for the lack of information on the first request for help

ce

"Don Guillett" wrote:

try
IF(V5="","",VLOOKUP(V5,Rates!$B$2:$F$226,if(j5=12, 4,3),0))


--
Don Guillett
SalesAid Software

"Curtis" wrote in message
...
I am currently using the formula

IF(V5="","",VLOOKUP(V5,Rates!$B$2:$F$226,3,FALSE))

I need to add a string that not only lookups v5 as above but I also need
to
loolooks up j5 and if equals a certain number the formula above would look
at
column 4 rather than 3

Does my question make sense?

Thanks

ce