+ Reply to Thread
Results 1 to 6 of 6

Game grid map, distance between two points

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    Western Slope Colorado, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Game grid map, distance between two points

    I play games that have grid maps and I would like to know how to enter these points on an excel spreed sheet and find the distince between the two points.

    Screenshot_301.png

    I'm not sure if you can see this example of what i want to do. So if you have a grid box map with 500 boxes across and down and you want to know the distance between to two points how do I enter them on the spread sheet. If the top row is called "Y" and down is called "X" and my base was at y125, x325 and the base I want to go to is y325, x425. What is the distance between the two point and how do I enter the points?

    Thanks,

    Potatoebob

  2. #2
    Forum Contributor
    Join Date
    11-12-2013
    Location
    Delhi
    MS-Off Ver
    Excel 2016
    Posts
    135

    Re: Game grid map, distance between two points

    kindly upload excel file....

  3. #3
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Game grid map, distance between two points

    Bet you wish you'd paid attention to Pythagoras now
    Elegant Simplicity............. Not Always

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

    Re: Game grid map, distance between two points

    Agreed, AndyLitch. I find this sort of thing much easier to program into Excel (or other programming language) if I first understand the math. As noted, the distance formula is derived from the Pythagorean theorem and is fairly simple. Here's a quick refresher with the distance formula and its derivation http://www.purplemath.com/modules/distform.htm From there, putting it in Excel should be straightforward.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010 & 2013
    Posts
    308

    Re: Game grid map, distance between two points

    Hi Bob

    Using your screenshot, the formula in cell H3 would be:

    =SQRT((E3-A3)^2+(F3-B3)^2)

    Best regards, Rob.

  6. #6
    Registered User
    Join Date
    01-03-2014
    Location
    Western Slope Colorado, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Game grid map, distance between two points

    Thanks for the help. Once I saw the formula then it made sense.

+ 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] Calculating distance between many GPS points and sorting by distance
    By jackalek in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-14-2014, 08:27 AM
  2. FIFA PC Game 1 on 1 Points Calculator
    By dg081556 in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 12-28-2012, 09:42 AM
  3. Excel 2007 : Calculate Grid cell distance
    By aardvark23 in forum Excel General
    Replies: 15
    Last Post: 04-14-2010, 12:37 PM
  4. formula to find distance across points on a grid
    By Powrpak in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-24-2008, 04:35 PM
  5. [SOLVED] How do i make grid map to input cord for a game
    By pitapoopoo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-04-2006, 04:55 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