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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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:

[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
G​
[/td][td="bgcolor:#C0C0C0"]
H​
[/td][td="bgcolor:#C0C0C0"]
K​
[/td][td="bgcolor:#C0C0C0"]
N​
[/td][td="bgcolor:#C0C0C0"]
O​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
SFv
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
-32.0437​
[/td][td][/td][td][/td][td][/td][td]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)[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td="bgcolor:#F3F3F3"]
hp0
[/td][td="bgcolor:#F3F3F3"]
g
[/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]
0.5​
[/td][td]
9.8​
[/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td][/td][td][/td][td="bgcolor:#F3F3F3"]
Pmax
[/td][td="bgcolor:#F3F3F3"]
Z
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td][/td][td][/td][td]
1​
[/td][td]
-24.3028​
[/td][td]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)[/td][/tr]
[/table]


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,223,911
Messages
6,175,334
Members
452,636
Latest member
laura12345

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