![]() |
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 |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 06:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com