+ Reply to Thread
Results 1 to 12 of 12

Plotting coordinates,connect points

  1. #1
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Plotting coordinates,connect points

    Hello guys,

    I tried to find a way of plotting some points using coordinates but unsuccessfully.
    Please help me to solve it.
    I really appreciate your help!
    I attached a test file, there are some points with coordinates, the result is a route, and another
    set of coordinates-the result is an area.
    Attached Files Attached Files
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Plotting coordinates,connect points

    Currently those values will be treated as text and therefore plot as zero.

    You need to strip the NEWS info off and adjust the value +/-.
    I have assumed the values are absolute so you may need to alter the formula if the information is relative.

    For the area you need to include the start/finish point twice to enclose it.

    Data labels are linked to cells to display location name.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    Thanks a lot Andy, it's almost what I am after to. I think I get the idea how to change the coordinates. Is possible to have the "whole" picture as the latitude/long are in real life? I mean LBSF (Sofia) is somewhere in SE and EGLL (Heathrow) in NW, the contaminated area is located in Iceland.
    Thanks again!

    after that, in order to be easier for my colleagues I'll try to use a UserForm, not very sure I could do it but I try....
    Last edited by john55; 08-24-2014 at 10:24 AM.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Plotting coordinates,connect points

    The formula where incorrect. Mixing NS with XY coordinates

    I have corrected the formula.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    Excellent!!!!! Thanks a lot for your help!

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    This thread is solved.
    The solution is great! I am able to plot the routes and the restricted/warning area.
    Is possible to incorporate this solution into a UserForm or something else because the users need to change all the time range(s), and yesterday two of them already messed up...

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Plotting coordinates,connect points

    Not sure how a userform would help.

    I guess it depends what the users are doing to screw the chart up. Are they suppose to do anything other than look at the chart? If so just move the chart to a chart sheet and protect the sheet.

    If they are suppose to enter new information then look in to using named ranges to automatically updating the chart series.

  8. #8
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    yes, they need to add new info, route and the restrcted area, because the coordinates are changing ...due to wind. they need to see if the route(s) is in/near/far away from red area!

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Plotting coordinates,connect points

    The route series is not too difficult as that is a contiuous set of coords. Although you will need to update the data labels to show airport codes.

    The areas one is more complicated as you need to duplicate start coordinates in order to enclode the area. If you have multiple areas you need to leave a blank cell between areas to avoid drawing a line between areas.

    Maybe using a userform to enter coords is the safest way.

  10. #10
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    Even if we are facing with more restricted areas, we can add one by one, I do not dare to add more than one!
    the process is: add info(coordinates) for one route and for the restricted area, it depends where you are, in the middle east or central/north europe. once you add them you see if you are affected or not.
    (we have many applications but each o them lacks something)
    all I want is to make this process a little bit "secure", how the user can avoid the change the range(s) i.e for min/max? I'd like just to add coordinates only in designated area...is possible, how do I do this?

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Plotting coordinates,connect points

    You could set the axis to auto. Otherwise you would need vba to link charts axis to cell values in order to update.

  12. #12
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Plotting coordinates,connect points

    Thanks! I am not sure I can do it, I let the file in this format for use, I know it helps them a lot!

+ 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. [SOLVED] converting X,Y chart points into actual coordinates
    By Alexander_Golinsky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2012, 04:34 AM
  2. Connect 0 points with a line
    By Jeny Jen in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-09-2010, 04:06 PM
  3. [SOLVED] Scatter plot points x and y coordinates
    By Milo in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-28-2005, 07:25 PM
  4. [SOLVED] A question regarding coordinates of points within a chart
    By Wazooli in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-15-2005, 01:06 AM
  5. [SOLVED] Help Plotting Cartesian Coordinates
    By Gizzard in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-29-2005, 01:06 AM

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