A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula to obtain result from non exact sequence match



 
 
Thread Tools Display Modes
  #1  
Old May 17th, 2010, 06:40 AM posted to microsoft.public.excel.worksheet.functions
The Hit Man
external usenet poster
 
Posts: 3
Default Formula to obtain result from non exact sequence match

I know this has to be easier than I currently do it. I have seen examples
similar using exact matches or dates but nothing using ranges. I can obtain
the correct answer when my sales value is an exact match on the commission
payment tier table but I have been unable to formulate this correctly for non
exact matches. My v-lookup will round to the nearest commission after I have
passed to the next level rather than the next higher increment. I have many
different rates by products and states and need a consistent means to return
the appropriate value based on the specific sales amount and commission rate
tier.


(a) Monthly sales amount to pay commission on
Sales Commission Correct commission answer
$5,000 formula 1000
$25,001 formula 1200
$35,000 formula 1300

(b) commission payment tiers
Sales Value Start Sales Value Stop Commission
0 20000 1000
$20,001 25000 1100
$25,001 30000 1200
$30,001 35000 1300



  #3  
Old May 18th, 2010, 06:18 AM posted to microsoft.public.excel.worksheet.functions
The Hit man
external usenet poster
 
Posts: 3
Default Formula to obtain result from non exact sequence match

The example I have given is simplified. I could have up to 40 rate tiers and
cover 40 different product lines. Maybe I was wrong as this is not as easy as
I thought it would be. I reviewed your options and am still hoping to avoid
VBA but that may turn out to be the way to go. The formula example did not
look like it would work for the number of tier ranges I have, Did I miss
something?

"ozgrid.com" wrote:

See
http://www.ozgrid.com/Excel/sliding-bracket.htm
and
http://www.ozgrid.com/VBA/sliding-bracket-vba.htm



--
Regards
Dave Hawley
www.ozgrid.com
"The Hit Man" The Hit wrote in message
...
I know this has to be easier than I currently do it. I have seen examples
similar using exact matches or dates but nothing using ranges. I can
obtain
the correct answer when my sales value is an exact match on the commission
payment tier table but I have been unable to formulate this correctly for
non
exact matches. My v-lookup will round to the nearest commission after I
have
passed to the next level rather than the next higher increment. I have
many
different rates by products and states and need a consistent means to
return
the appropriate value based on the specific sales amount and commission
rate
tier.


(a) Monthly sales amount to pay commission on
Sales Commission Correct commission answer
$5,000 formula 1000
$25,001 formula 1200
$35,000 formula 1300

(b) commission payment tiers
Sales Value Start Sales Value Stop Commission
0 20000 1000
$20,001 25000 1100
$25,001 30000 1200
$30,001 35000 1300




.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.