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

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default Vlookup Help

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Vlookup Help

Thanks......Good assumtions.....works like a charm

"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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Vlookup Help

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



--

"Curtis" wrote in message
...
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



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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 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
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 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 06:13 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"