Formula Problems

aem

New Member
Joined
Nov 23, 2005
Messages
5
Newbee to Excel needs direction on how to create a formula to incorporate into a business estimate sheet. I have a cost and sell columns and wish to have the sell columns reflect a certain mark-up depending on the cost dollar amount. IE: if cost is under 100.00, then mark-up cost 100%. If cost is over 100.00 but less than 300.00, then mark up cost 50%. If cost is over 301 but less than 500, then mark up cost to 30%.
Thanks for any help.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Try this, where A1 contains your Cost. I have assumed >500 is 0% markup.

=VLOOKUP(A1,{0,1;101,0.5;301,0.3;501,0},2,1)

Formatted as %
 
Upvote 0
Thanks for the help and formula. Unfortunately, I don't believe I explained my problem correctly. Maybe you could help me if I try again...
Cost Sell
A1 B1

I directly put a dollar amount in A1 and based on that dollar amount, I want B1 to reflect a sell price. That sell price in B1 needs to be based on dollar amount ranges I input into A1. For example:
A1 is 1 to 100.00, then B1 would reflect a sell price of 2 to 200.00
A1 is 101.00 to 300, then B2 would reflect a sell price of 151.50 to 450.00
A1 is 301.00 to 500.00, then B2 would reflect a sell price of 412.40 to 700.00.
A1 is 501.00 to infinity, then B2 would reflect a sell price of 651.30 to ........ Hope this is a better clarification.
 
Upvote 0
Note: The values you gave this time aren't all obtainable with the numbers you gave originally.

i.e. over $301 to get 412.4 is a 37% m/u and $500 to $700 is a 40% m/u.

Please check your numbers and adjust in the formula below. The numbers after each semicolon (;) represents the percent markup (in decimal numbers). The number before the semicolon represents the lower limit for which to begin applying the adjacent percentage.


Try this in B1.

=A1+A1*VLOOKUP(A1,{0,1;101,0.5;301,0.4;501,0.3},2,1)
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top