Solving algebra expression with letters

madskjer

New Member
Joined
Oct 27, 2016
Messages
2
Hi!

How can I in an equation with two variable solve for x using letters in Excel?

E.g. I have the following problem:
y = -2*x+150

Find expression for x.

I know the answer is x = -0.5*y + 75 but can Excel find that out for me?

I'm new in here so I really hope you can help me.
Best,
Mads.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I think excel has a equation solver add-in...
 
Upvote 0
Hi!

How can I in an equation with two variable solve for x using letters in Excel?

E.g. I have the following problem:
y = -2*x+150

Find expression for x.

I know the answer is x = -0.5*y + 75 but can Excel find that out for me?
Format A1, B1, D1, A2, B2 and D2 as Text and Custom Format E1 and E2 with this Type pattern...

+General;-General;+0

Put these values in the indicated cells...

A1: Y
B1: =
C1: -2
D1: X
E1: +150

A2: X
B2: =
C2: =1/C1
D2: Y
E2: =-E1/C1

You will enter the X coefficient in cell C1 and the y-intercept in E1 manually and the reversed equation will appear automatically on Row 2.
 
Last edited:
Upvote 0
The OP didn't indicate that he/she was trying to solve anything more complex than what he/she posted.

Thank everyone!

I did not indicate that I'm trying to solve anything more complex, but I would like to if possible. But it doesn't seem that it's possible. So I'm good for now. Once again thanks!!

Best,
Mads
 
Upvote 0

Forum statistics

Threads
1,214,921
Messages
6,122,280
Members
449,075
Latest member
staticfluids

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