Help creating a formula that solves for highest and lowest X while maintaining values of A and B

brutalnessities

New Member
Joined
Jul 26, 2018
Messages
1
Hello all,

So this is probably a lot easier to solve than i am making it but i need a formula (or VBA) that will solve for the "Dealer Price" (in blue).
----------------------------------------------------------------------------------------------------------------------------------------------------------------

Retail PriceDealer PriceRetail PriceDealer Price
Retail Price30310 $ 986.60
Dealer Price23867 $ 1,009.07
Your PriceClick to unlockCorrect Taxes totalDifference in tax24853.59551
Taxes and Fees27233494.362901.604-771.36178.60424876.06737
State Tax (4.45%)11181360.811074.0965-242.81-43.9035
County Tax (4.75%)11941452.551146.5075-258.55-47.4925
Lien Fee0
Documentation200 111825123.59551
Temporary Tag4 119425146.06737

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
----------------------------------------------------------------------------------------------------------------------------------------------------------------


In this case the values in green need to be =>red<(red+1) at the same time. Below is what solves for green.

X = 23867 (in this example)

Green:
(X+270)*.0445=1074.0965 = A
(X+270)*.0475=1146.5075 = B

=The Blue numbers need to be the solution to lowest value of A and the highest value of B while maintaining both values in red.

(1119>(X+270)*.0445>=1118) at the same time as (1195>(X+270)*.0475>=1194)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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