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

Thanks again. Could you assist with the following

I have a column which contains the following type data
0125 - BYK-CRI-CC-SMITH

All I care about is the 0125. Is there a formula that I could use that would
vlookup if a cell contains certain data.

Thanks again

"mikelee101" wrote:

Hello Curtis,
I made a couple of assumptions. If they are wrong, let me know. I assumed
that what you were going to be looking up on Sheet2 was the Rep ID, and that
it was in column A. I then assumed that they value you were looking up is in
column B. If that's the case, this should work:

=IF(VLOOKUP(A1,Sheet2!$A$1:$I$24,2,FALSE)Sheet2!$ D$1,0,IF(VLOOKUP(A1,Sheet2!$A$1:$I$24,2,FALSE)She et2!$E$1,80,IF(VLOOKUP(A1,Sheet2!$A$1:$I$24,2,FALS E)Sheet2!$F$1,100,200)))
--
Mike Lee
McKinney,TX USA


"Curtis" wrote:

Need help as follows

Sheet 1 is my summary page
Column A contains sales reps ID (a1= 1234)
Column B will contain the required formula that will determine commission
results

Sheet 2 is the source page
Vlookup range is 'sheet2'!$A$10:$I$24
Cell D3 contains target of 7.8% (this value could can change YOY)
Cell E3 contains target of 7.3%
Cell F3 contains target of 6.5%

Need a formula that will vlookup 'sheet2'!$A$10:$I$24 and if that number is
less than or equal to 6.5% place a value of 200 % in Sheet 1 cell B1. If the
number is
greater than 6.5% but less than or eqaul to 7.3%, place a value of 100% in
Sheet 1 cell
B1, if the number is greater than 7.3% but less than 7.8% place a value of
80% and lastly if the number is greater than 7.8% place a 0%

Thanks