+ Reply to Thread
Results 1 to 6 of 6

Need to find x,y distance from original location that is 100' from a line

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    houston, Texas
    MS-Off Ver
    2010
    Posts
    28

    Need to find x,y distance from original location that is 100' from a line

    Hello Excel Masters,

    I am trying to find a clever way to find exactly what x and y distance from an original location that I would be 100' from a line.

    I would greatly appreciate help, I have points every ~100 feet but I would like to come up with a way to easily paste the x and y's and have excel interpolate between points to find where i am 100' from the line.

    Thank you,

    Strother

    Line Calculator.xlsx

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Need to find x,y distance from original location that is 100' from a line

    Please put your desired answer or speak something more understandable.......

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Need to find x,y distance from original location that is 100' from a line

    How much of this is a math question, and how much of it is Excel?

    I find that I must first understand the math part of the problem before I can figure out how to program it into Excel (or any other programming language). With that in mind, I would first suggest a reference such as https://en.wikipedia.org/wiki/Distan...oint_to_a_line Your file shows x,y coordinates (in what units??) and slope and interecept parameters for a line (in what units???). Once you know exactly what those values mean, it should be as easy as applying the formula given in wikipedia [=abs(ax+by+c)/sqrt(sumsq(a,b))] to each point, then analyzing that "helper column" to determine where the 100 ft distance would be.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Need to find x,y distance from original location that is 100' from a line

    Your scaling seems inappropriate. Your original coordinates are in the millions, but your table data runs up only to 7000 or so.

    Whatever distances you calculate are going to be much much larger than 100'.

  5. #5
    Registered User
    Join Date
    09-15-2015
    Location
    Tehran
    MS-Off Ver
    2013
    Posts
    19

    Re: Need to find x,y distance from original location that is 100' from a line

    Hi
    I think something is wrong because the smallest distance is 1071005.8
    see the attached file.
    regards
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-15-2015
    Location
    Tehran
    MS-Off Ver
    2013
    Posts
    19

    Re: Need to find x,y distance from original location that is 100' from a line

    Hi again
    I used this formula for distance of point from line.
    Line Equation : ax+by+c=0
    Point (x0,y0)

    distance=abs(a*x0+b*y0+c)/sqrt(a^2+b^2)

    regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. alculate distance between two Lat/Lon location
    By avishay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2014, 05:05 PM
  2. Zip Code Distance Calculation - location
    By shevans218 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-18-2014, 02:02 AM
  3. [SOLVED] Save file back to original location
    By BRISBANEBOB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2014, 01:15 AM
  4. Distance from one location to many others...
    By skyfall2097 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-20-2013, 04:51 PM
  5. Sort by location distance
    By just_some_dude in forum Excel General
    Replies: 1
    Last Post: 05-02-2011, 10:14 AM
  6. Moving Cursor & Sheet back to the Original Location
    By Ricky Pang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2005, 12:05 PM
  7. Replies: 0
    Last Post: 04-15-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1