Vlookup Help

C

Curtis

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
 
M

mikelee101

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)>Sheet2!$E$1,80,IF(VLOOKUP(A1,Sheet2!$A$1:$I$24,2,FALSE)>Sheet2!$F$1,100,200)))
 
C

Curtis

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
 
P

PCLIVE

Using A1 as the cell you want to search for "0125":
=IF(ISERROR(SEARCH("0125",A1)),"String Not found","String found. Now
What?")

If "0125" is in a certain cell (say B1):
=IF(ISERROR(SEARCH(B1,A1)),"String Not found","String found. Now What?")

Keep in mind that the SEARCH function is non-case sensitive. Should you be
searching for text and you want it to be case sensitive, then use FIND
instead.

Hope this helps.
Paul



--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top