Calculate percentage travel along line

Hiya, I need to calculate the percentage position of a value along a line. I know the starting value of the line and the ending value of the line and I also know the value at a certain point on the line. I just need to know what percentage it is placed on the line.

I haven't expplained it very well in words but my attached diagram explains it better.

Thanks for your help
conundrum.jpg
LVL 2
dataflowjoeAsked:
Who is Participating?
 
d-glitchConnect With a Mentor Commented:
41980 - 41258
-------------------
42755 - 41258
41980 - 41258       722
-------------  =   ----- = 48.8%
42755 - 41258      1479

Open in new window

0
 
d-glitchCommented:

Int - Start
----------- x 100
End - Start

Open in new window

0
 
HainKurtSr. System AnalystCommented:
and

100 - (above post) for remaining percentage ;)
0
 
dataflowjoeAuthor Commented:
Awesome ...  obviously my drawing wasn't to scale then. Thanks a lot!!
0
All Courses

From novice to tech pro — start learning today.