You are Here: Home

Excel: Finding x values from y values using a trendline

Announcements Posted on
TSR's new app is coming! Sign up here to try it first >> 17-10-2016
1. Hi, so I have a scatter graph with a line of best fit or "trendline" as its called in excel and what I'm trying to do is create lines from specific y values across to the "trendline" and then down to the x axis to find the x value corresponding to the y value... Is this even possible? If it is please could someone with more knowledge than I let me know how to do it as soon as possible! Thanks in advance!
2. Choose to display the equation of the trendline and then do it with maths.
3. (Original post by majikthise)
Choose to display the equation of the trendline and then do it with maths.
Unfortunately I'm not that great at maths to be honest... The equation for the trendline is apparrently "y = 0.0312x + 0.0164" but that really dosent mean anything to me...

I've come to realise that a paper graph may have been easier... I'll keep trying to do it in excel for now but If I can't do it by tomorrow evening I'll have to just go for the old fashioned method lol
4. I think he was telling you how to find values from x or y values.

AFAIK, there's no way Excel will draw them on for you. The best way is probably to play around with Autoshapes.
5. (Original post by MALIK HAMID)
Unfortunately I'm not that great at maths to be honest... The equation for the trendline is apparrently "y = 0.0312x + 0.0164" but that really dosent mean anything to me...

I've come to realise that a paper graph may have been easier... I'll keep trying to do it in excel for now but If I can't do it by tomorrow evening I'll have to just go for the old fashioned method lol
what that equation is saying is that for any given x value, you can calculate the y value by multiplying it by 0.0312 and adding 0.0164.

So if you want to know what y is when x is 10, just do 0.0312*10 + 0.0164

If you want to work out the x value for a given y instead, you just need to rearrange the equation to make x the subject, so for this it would be x = (y-0.0164)/0.0312

I don't know what your graph looks like, but from the equation you've given, it sounds like the line of best fit should probably go through the origin. There is an option in the format trendline window called 'set intercept' which you can change it so that it does.
6. (Original post by alex-hs)
what that equation is saying is that for any given x value, you can calculate the y value by multiplying it by 0.0312 and adding 0.0164.

So if you want to know what y is when x is 10, just do 0.0312*10 + 0.0164

If you want to work out the x value for a given y instead, you just need to rearrange the equation to make x the subject, so for this it would be x = (y-0.0164)/0.0312

I don't know what your graph looks like, but from the equation you've given, it sounds like the line of best fit should probably go through the origin. There is an option in the format trendline window called 'set intercept' which you can change it so that it does.
Thanks a lot this was really helpful!

Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: November 10, 2010
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

How does exam reform affect you?

From GCSE to A level, it's all changing

Poll
Useful resources

Articles:

The Student Room tech wikiTech forum guidelines

Need some cash?

How to make money running your own website.

Groups associated with this forum:

View associated groups
Study resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.