LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 7 Oct 2005 21:04:40 -0500, CyndiP
wrote:


I am stumped on a formula... if ANY one can help me - please post!!!

Here is what i am trying to do:

Item sells at X Amount

If X amount is between $.01 - $25 then take 8% of that number = ?

If X amount is between $25.01 - $1000 then take 8% of the $.01 - $25
then 5% of the remaining = ?

If X amount is over $1000.01 then take 8% of the $.01 - $25, 5% of the
$25.01 - $1000 then 3% for the remaining = ?


The final number would be a percentage based off of the above.

IE - If I sell an item at $18 - the number showing should be $1.44IE -
(8% of the 18)

IE - If I sell an item at $500 - the number showing should be $25.75 -
(8% of the $25 = $2. automatically, then 5% of the $475)

PLEASE HELP - I AM STUCK ON A WORK PROJECT!!


Set up a table with your "break points" in column 1; the dollar amount to be
taken at that break point in column 2, and the percentage in column 3.

If the table is in M1:O3,Column 2 can be calculated by the formula:

=N1+(O1*(M2-M1))

Name the table "tbl".

For your data, the table would look like:

0 0 8%
25 2 5%
1000 50.75 3%

and would contain:

0 0 0.08
25 =N1+(O1*(M2-M1)) 0.05
1000 =N2+(O2*(M3-M2)) 0.03

The formula to calculate your final number would be (with your value in A1):

=VLOOKUP(A1,tbl,2)+VLOOKUP(A1,tbl,3)*(A1-VLOOKUP(A1,tbl,1))

The parameters can be easily changed by changing the table.


--ron


 
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
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"