Looking a way to solve this equation

aaronchan322

New Member
Joined
Apr 9, 2018
Messages
2
Dear all,

Feel thankful to find this forum.

I'm not an excel expert, nor a math expert.
But recently I have to find the X value with this equation:
Y = 0.0000302307X^6 - 0.0017620175X^5 + 0.0376232469X^4 - 0.3880372117X^3 + 2.3962783035X^2 - 3.6979108034X + 1.4580209629
I have a series of Y value already.
But since I only know how to solve a formula when Y is on the right hand side,
I have no ways to solve my X value now.

What should I do with excel according to get my X value?

Thanks
Aaron Chan
 

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.
Dear all,

Feel thankful to find this forum.

I'm not an excel expert, nor a math expert.
But recently I have to find the X value with this equation:
Y = 0.0000302307X^6 - 0.0017620175X^5 + 0.0376232469X^4 - 0.3880372117X^3 + 2.3962783035X^2 - 3.6979108034X + 1.4580209629
I have a series of Y value already.
But since I only know how to solve a formula when Y is on the right hand side,
I have no ways to solve my X value now.

What should I do with excel according to get my X value?

Thanks
Aaron Chan

Ok it needs a few steps. First of all correct your notation. Paste the following to B1:

=(0.0000302307*(A1^6)) - (0.0017620175*(A1^5)) + (0.0376232469*(A1^4)) - (0.3880372117*(A1^3)) + (2.3962783035*(A1^2)) - (3.6979108034*A1) + 1.4580209629

Then go to
Data tab and find Solver->Goal Seek.

Set cell: B1
To value: Your Y value
By changing cell: A1

You have to do this one by one for each Y value or use VBA.



 
Last edited by a moderator:
Upvote 0
Ok it needs a few steps. First of all correct your notation. Paste the following to B1:

=(0.0000302307*(A1^6)) - (0.0017620175*(A1^5)) + (0.0376232469*(A1^4)) - (0.3880372117*(A1^3)) + (2.3962783035*(A1^2)) - (3.6979108034*A1) + 1.4580209629

Then go to
Data tab and find Solver->Goal Seek.

Set cell: B1
To value: Your Y value
By changing cell: A1

You have to do this one by one for each Y value or use VBA.




Thank you very much Flashbond!
It works!

aaron
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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