# Excel: how to find quotient

#### Elliott

##### Board Regular
Hi,

I am trying to set price X using the following formula

(([X]*0.861)+2.43)-[Y]=Z

X=price
Y=cost
Z=profit

what would I have to multiply X by for Z to always be =0.50

I realize this is a math question but I also need to write the formula in Excel.

many thanks,

Elliott

### Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

#### Seti

##### Well-known Member
To always get a profit of .5, X would need to be defined as

[X]=(.5+[Y]-2.43)/0.861

#### Elliott

##### Board Regular
many thanks,

worked great!

Elliott #### Elliott

##### Board Regular
How would I state this to say, if Price <0 then Price = 0.1, otherwise is:

Price: Round((0.6+[cost]-2.42)/0.861,2)

many thanks,

Elliott

##### MrExcel MVP

How would I state this to say, if Price <0 then Price = 0.1, otherwise is:

Price: Round((0.6+[cost]-2.42)/0.861,2)

many thanks,

Elliott

=MAX(0.1,ROUND(((0.6+A2-2.42)/0.861,2))

where A2 houses the cost value.

#### Elliott

##### Board Regular
How would this be written as an Access Query function?

Many Thanks,

Elliott

##### MrExcel MVP
How would this be written as an Access Query function?

Many Thanks,

Elliott

Price: IIf(Round((0.6+[Cost]-2.42)/0.861,2)<0.1,0.1,Round((0.6+[Cost]-2.42)/0.861,2))

#### Elliott

##### Board Regular
ahh, a gentemen and a scholar

it worked perfectly

MANY THANKS!!

Elliott  Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

### Forum statistics

1,167,953
Messages
5,856,481
Members
431,817
Latest member
db74 ### 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.

### Which adblocker are you using?    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

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