Equation into Excel using PEMDAS

A12=(-(g^2)/(3*Pmax)) - ((-(g^4*hpo^4)-12*g*hpo^3*Pmax^2)/(3*hpo^2*Pmax*Z(Pmax,hpo))) - (Z(Pmax,hpo)/(3*hpo^2*Pmax)) where I have Z(Pmax,hpo) referencing the cell with the formula you gave

Z(Pmax,hpo) is in cell B1
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Could you PLEASE post the actual formula you have in the cell?
 
Upvote 0
A12 = (-(H4^2)/(3*K8)-((-(H4^4*G4^4)-12*H4*G4^3*K8^2)/(3*G4^2*K8*N8)))-(N8)/(3*G4^2*K8)

Z (Which is in cell N8) = (-(H4^6)*G4^6-18*H4^3*K8^2-54*G4^4*K8^4+6*SQRT(3)*SQRT(2*H4^3*G4^9*K8^6+27*G4^8*K8^8))^(1/3)
 
Upvote 0
You're missing an hp0 term in Z:

G​
H​
K​
N​
O​
1​
SFv
2​
-32.0437​
G2: = -(g^2)/(3 * Pmax) - (-(g^4 * hp0^4) - 12 * g * hp0^3 * Pmax^2) / (3 * hp0^2 * Pmax * Z) - Z/(3 * hp0^2 * Pmax)
3​
hp0
g
4​
0.5​
9.8​
5​
6​
7​
Pmax
Z
8​
1​
-24.3028​
N8: =(-(g^6) * hp0^6 - 18 * g^3 * hp0^5 * Pmax^2 - 54 * hp0^4 * Pmax^4 + 6 * SQRT(3) * SQRT(2 * g^3 * hp0^9 * Pmax^6 + 27 * hp0^8 * Pmax^8))^(1/3)

Everything else look correct to me.
 
Upvote 0
Ahhh, it's finally yielding a number that looks correct! Thank you very much for the help. I wouldn't have been able to figure this out without you, very much appreciated.
 
Upvote 0
You're welcome, glad you got it sorted.
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,511
Members
449,166
Latest member
hokjock

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