# calculate value

#### merlin_the_magician

##### Active Member
Very confusing problem….

I need to calculate many values, using a formula like the one beneath, in which "d" is unknown. How can i have excel calculate d?

(1,89d²) - (4,92d) - 9,84 = 0

d should have TWO possible values:
d = -1,33
d = +3,93

### Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

#### Iridium

##### Well-known Member
Hoi mijn vriend!

You trying to solve a quadratic? If so PM me your e-mail as I think I have a workbook that may be useful to you

HTH

#### GorD

##### Well-known Member
I tried to reproduce this using solver. I did thai by setting the formula in a cell and replacing your "d" with a cell reference. You then set the target value for the cell with the formulato 0 and add any constraints. I had to do this twice, to get the two values, once specifying that change cell must be >0.

The results it reurned were@

-formula result: 9.58862E-07 D= -1.325288828

-formula result: 5.38735E-07 D= 3.928463582

Don't no if this helps, or of its accurate enough

#### Iridium

##### Well-known Member
Quadratics.xls
ABCDEFGH
1Equationtosolvequadratics
2Entera,bandcintheblueboxesabc
3Where43-1
4
5
6
7
8x=0.25or-1.00
Sheet1

Where ax²+bx+c=0, x=-b±SQRT(b²-4ac/2a)

HTH

#### Seti

##### Well-known Member
Iridium just beat me, but here is the solution using your actual values in a much less user friendlylayout:
Book1
BCDE
3a1.89
4b-4.92
5c-9.84
6
73.928464
8-1.32529
Sheet1

#### merlin_the_magician

##### Active Member
I asked Iridium to PM the template to me, so that would be of rather good use. I'm very glad this can be done by excel, because calculation by hand is much work and very hard as well because of the complicated values.

By the way, what about the formula that is used?
Mathematic rule: (a+b)² = a² + 2ab + b² The formula does someting i do not quite understand...

Thank you for your efforts as well seti. I knew it couldn''t be that hard to solve...

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.

Threads
1,168,024
Messages
5,856,878
Members
431,837
Latest member
megantang

### 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

### 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