Distance Between 2 Cells With Walls?

Jan 20, 2013

I am wondering if there has been something made that is able to measure the distance between 2 cells if there is a barrier between them. For example, say you want to measure the distance between A1 and C1. If there were no barriers, the answer would be 2 cells, but say there was a barrier (a wall) that ran from B1 to B3. The distance would now be 8 assuming you cannot move diagonally, or 6 if you can move diagonally.

View 6 Replies


ADVERTISEMENT

Distance Between Coordinates?

Dec 8, 2013

I have created a sheet that shows distance between coordinates. Also working on something to put them in order of the closest point. I used a fixed point to find the nearest coordinate, but since i'm using a fixed point it doesnt go the order I want it to. I have attached the excel file I am working on.

View 11 Replies View Related

Distance Between Zip Codes

Feb 26, 2009

I have two columns, zipA and zipB. There are over 7000 rows and I need to calculate the distance between zipA and zipB for each row (so the result should be over 7000 rows of distances (in miles)). I posted this in the programming board because I figured it would require some. I don't have any add-ons.

View 14 Replies View Related

Distance Between 2 Geo-points

Mar 14, 2009

Need a direction for this type of calculation.

View 2 Replies View Related

Distance Between 2 Zip Codes

Feb 24, 2007

At my last job we purchased a zip code addin from spheresoft that could give you a distance between two distance ie: =ZipCodeDistance(zip1, zip2)

This worked well but I am now at a new job and wondering if there is any data out there that could help me build my own sheet. I just need California

I have both zip codes now just need the distance, I could sit down, drink a ton of coffee and enter zip codes all night into Mapquest but am hoping for a better way.

View 9 Replies View Related

Counting Distance Between Number 1

Mar 27, 2014

I need a formula, from which I need to drag (if needed) and to fill with numbers, by following principles:

- when the left cell contain the zero, it needs to find on the same column if there exists another zero, or another one and count them, let's say if find three zeros untill find number one, return 3.
- when find a number 1, after another 1, has to return a zero.
- the formula need to initialise from the top of the column, only finds the first number 1.

I have a relevant example down bellow. I used to count them visually and sometimes errors sneak into my spreadsheets.

View 5 Replies View Related

Calculating The Distance Round An Arc

Jan 27, 2009

I am looking to calculate the distance around an arc, given A-B = 70 and the depth is 70cm.

View 10 Replies View Related

Lookup & Find The Distance

Apr 2, 2009

I have a distance grid with place names down column A and along Row 1 with distances in the middle. I then have a place name in cell A1 on sheet2 and a distance in cell B1 on sheet2. Ideally I want cell C1 on sheet2 to lookup the place in cell A1 on Row1 of the grid on sheet1 and then find the distance in B2 in that column before displaying the correspoding value from Column A on sheet2. I've tried various Match and Index functions with no success.

View 5 Replies View Related

Calculating Miles, Distance & MPH

Jul 7, 2009

My wife wanted a excel sheet to track her walking. See Attached. I think I have the time calculations wrong, for example I am entering 1.07 for an hour and 7 minutes.

View 2 Replies View Related

Minimum Distance Between Points

Jul 24, 2009

I want to know the minimum distance between customers that I visited in each day.

If i visit customer 1, 2 and 5 in one day, which distance is smaller? 1-2, 2-5 ou 1-5 and what is the corresponding value?

I have in columns DATE, CUSTOMER 1, CUSTOMER 2, ..., CUSTOMER 5 and in each row I put the Day and 1 or blank for each customer (visited / not visited). I also have a mileage chart for each customer in another sheet which is the source for my distance data.

I tried INDEX and MATCH but all I get is ZERO... I think it is comparing the same CUSTOMER.

View 14 Replies View Related

Finding Distance Between Two Addresses?

Mar 14, 2014

I have two columns of from and to addresses in excel.These are complete addresses with apartment name and pincodes. how can I obtain the distance in km between the two addresses (Both are in the same city) I have used the code in the following [URL].However it seems to give me 0.

View 10 Replies View Related

Make A Distance Between Charts?

Sep 21, 2013

I wrote a code to make all my charts and it made but all charts stocked together

P.S : "The red part in this code is my try to make a distance(space) between charts but it doesn't work"

Code:

For u = 1 To o
ActiveSheet.Shapes.AddChart2(303, xlColumnStacked).Select
ActiveChart.SetSourceData Source:=Sheets("sheet1").Range(crgf(u), crgl(u)), PlotBy:=xlRows
ActiveChart.SetElement (msoElementDataTableWithLegendKeys)[code].....

View 3 Replies View Related

Calculating Distance Between Coordinates

Jan 16, 2008

i use a Trimble Total Station Survey equipment, This is used for suveying and measuring distances between points on jobs. These points can be exported onto the pc as a text file and imported onto excel, the file has a northing and easting to locate the point these are comma separated.

I would like to know if excell is capable of working out a distance betwen two of these such points by using the two pairs of northing and easting coordinates. The maximum distance between two points is no more than 50 meters. If for example when imported onto excel point 1's coordinates are locted in cells A1 and B1 and points 2's coordinates are locted in cells A2 and B2.

View 9 Replies View Related

Creating And Using Port Distance Matrix?

Jul 28, 2014

I have 1551 rows of port distances, as shown below.

From To Distance
Abu Al BukhooshDalian 6097
Abu Dhabi Jamnagar929
Ain Sukhna Gibraltar2026
Akpo Field Inchon9755

I have a list of 206 ports. I want to build a matrix of Port distances with the names of the ports (206 names) on the first row and column and the distance from each port to every other port. I understand that the 1551 rows of data that I have is not sufficient, but those are he only significant ones. For the missing records I would like to put "zero" in the matrix.

Also, Once the matrix is built, how can I use it to find the port pair distance when the user inputs two port (From port and To port)?

View 4 Replies View Related

Calculating Angle And Distance From 3D Points (x / Y / Z)

Jul 21, 2014

I have a list of 3D landmarks, and I'm trying to calculate angles and distances between specific combinations of these points.I hit a complete wall when trying to use excel to calculate out those equations. way input these equations?

Distance equation --> distance between points A and B = sqr root of [(Ax-Bx)^2 + (Ay-By)^2 + (Az-Bz)^2]

This person (see the link) posted the excel equation, and I spent a long time trying to follow it, but can't make sense of it! [URL]

I have attached a summary of the excel I have, and exactly what I'm trying to calculate.

Summary:

1. What is the excel equation to calculate the distance between two 3D coordinates (x,y,z)?

2. What is the excel equation to calculate the angle formed by 3 3D points (again, with x,y,z coordinates)?

View 5 Replies View Related

Calculate Time To Cover A Distance

Aug 6, 2014

this is normally a very simple thing to calculate and I know how to calculate for speed, distance and time or SoDiT as we learnt at school..

I have a period of time where a distance in feet is covered. Lets say 1 hour 25 minutes to cover 12,600 feet, just over two miles.

What I need to solve for in this case is not speed exactly, but how long it takes to cover 10 feet in this scenario.

I start to do the math in excel and then the formatting jumps when I set to hh:mm:ss and I get confused whether I'm multiplying or dividing by 60 and it all becomes a mess.

View 4 Replies View Related

Logic Formula To Calculate Distance

Jul 7, 2009

I have a excel sheet with city names in Column A, Distances in Column B, and Distances in Column C.

I wanted to write a formula so excel checks the distance between column C and column B and if there is less than a 10% difference between the two then it would copy the name of that city into another column D.

View 4 Replies View Related

Inverse Distance Weighting Function?

Apr 15, 2014

I have longitude/longitude points in which I would like to apply inverse distance weighting statistics to.

I would like to possibly create a chart with the results...

See link below for explanation of inverse distance weighting.

[URL] ....

is there a function in excel or access that I would be able to use to achieve this goal?

View 3 Replies View Related

Conditional Distance Calculator In Mappoint

Feb 10, 2013

I am using this code that is working with Microsoft Mappoint 2010. It works fine but I like to add a condition that if szzip1 = szzip2, Worksheets("abc").Cells(12, 2) will equal 1. (Normally Mappoint result to such a search is 0) .

Dim oApp As MapPoint.Application

Set oApp = CreateObject("MapPoint.Application.NA.17")
oApp.Visible = True
Set objMap = oApp.NewMap

[Code .......

View 6 Replies View Related

Distance To Default Calculation Using Excel?

Mar 16, 2013

how to to calculate the distance to default using excel. Or send e some previos work sheets that i can follow how it is done

View 1 Replies View Related

Distance Matrix For Multivariate Data

Aug 7, 2006

I have a multivariate dataset with a large number of cases. eg. 50.000 cases (data points) and 40 variables. I need to calculate the distances between each pair of data points in this 40-dimensional space. Obviously i cannot produce a whole data matrix, which would have to be 50.000 x 50.000 big. but i need at least the average distance - if N is the number of cases there are (N*N-N)/2 possible pairs of points. Idealy, the (N*N-N)/2 distances could be placed in a column so i could make a histogram of the values. Still this doesn't seem like a very good solution as the (N*N-N)/2 distances if N=50.000 would fill about 75 worksheets!

Here is a simplified exaple of what i want to do, but with N=4 and only 3 variables:
original data:
IDv1v2v3
1103010
2202510
3202020
4402015
Distance matrix:
1234
10 11,1803398917,3205080832,01562119
211,18011,1803398921,21320344
317,32 11,18033989020,61552813
432,01 21,2132034420,615528130

View 2 Replies View Related

Calculate Shortest Distance From Coordinates

Dec 5, 2007

I want to use a User Defined name look up its corresponding X/Y Coordinates , reference a list organized by categories, then go through each name in the list finding each's X/Y Coord Calculate distance.

SQRT((X-X)*(X-X)+(Y-Y)*(Y-Y))

where X and Y are Coordinates

& Return the name of the smallest Value.

View 9 Replies View Related

Check Distance Difference Based On Criteria

Feb 8, 2010

I have a Point A to Point B with the distance.

1. user can set a adjustable distance in cell J1. e.g 2000

2. User select Point A.

3. User select Point B

4. Then list out all the Point C where distance diff between Point A and Point B all within 2000.

View 14 Replies View Related

Formula To Find Distance Across Points On A Grid

Nov 22, 2008

Havent used a spreadsheet in ages and i'm having a fun time here. Cant seem to get the right formula for what i need. Here is a brief explanation!

I have a grid (not related to excel) of 999 by 999 squares.
The center is basically co-ords 500|500.
Upper left would of course be co-ords 001|001
Upper right would be 999|001
Bottom left would be 001|999
Bottom right would be 999|999

Now, here is what I am trying to do:

I want to have 3 squares chosen out on a spreadsheet I have made . .

1) here i put in the start co-ords (ie: 500|500)
2) here i put in the destination co-ords (ie: 505|510)
3) This is the fun one!!! ... And where I need the help!

I need a formula to put here that will tell me the number of squares I have to cross to get from one to the other!

View 9 Replies View Related

Grouping Postcodes In A Way That Minimizes Sum Geographical Distance Between Them

Feb 13, 2014

I have a list of postcodes. Half of them belong to girls, and half of them belong to guys. I have the distances between each postcode in a matrix. I need to put these postcodes into groups of 6, where 3 of the postcodes belong to girls and 3 to guys, in a way that minimises the sum distance between all the houses in every group. I want each group to contain houses that are as close together as possible.

View 7 Replies View Related

Select Numbers After Every 3 Distance From The Target Number

Jun 19, 2009

Below shows a example table:
*ABCDEFGHIJKLMNOPQRSTUVWXY11458912131415192122232728293234363741444548492314

The table above has numbers from A1:Y1. The blue number is the target number, which is selected in cell H3. I want selected numbers from the target number H1 going along each 3 numbers on the right to get the number 22 which is after the 3rd distance. For example the number would be 22, 29, 37 and 48, which are all in red. After the number 48 it should start counting from the beginning and reach to the target point H1. In this way it will select 5 and 13 also. In total it would be 6 numbers selected. The target point can be selected from A1:Y1 but in this example case is H1.

The table below shows the final 6 numbers, which are obtained after the results along each 3rd distance numbers.
*AAABACADAEAF1222937485132

View 9 Replies View Related

Scheduling Technicians Based On Distance To Customer

Apr 22, 2006

I need to dispatch 10 technicians across the US starting each Monday. They go to 10 different customers for the whole week. I know the distance between each technician and each customer. What I would like to do is assign each technician to a customer so that the total distance traveled for all the technicians is minimized. I know that if it was only 3 techs and 3 customers (as an example), I could build a table of all the possible combinations (3 factorial or 6 permutations), determine the distance for each permutation and select the minimum. I'm not sure that doing this method with 10 techs is feasible as the number of permutations is 10 factorial or over 3 million possibilities. Anyone see a workable solution?

I've include a spreadsheet with customers, technicians and the distances between them!

View 9 Replies View Related

Distance Between Xy Coordinates Not Converting Properly With Absolute Cell Use

May 14, 2014

I have a spread sheet that I am finding distance between xy coordinates and then trying to convert that distance into miles.

VB : =If(E2+F2=0,"",SQRT((E2-B2)^2+(F2-B3)^2))/1.6093

However, the division part only works in the first cell in the column correctly and then does not work in the rest of the column cells correctly. The difference in the code is that the first cell has no "$" in it and the rest of the cells in the column have the "$" in them.

VB : =If(E2+F2=0,"",SQRT(((E2-B$2)^2)+(F2-B$3)^2))

View 5 Replies View Related

Array Copying And Pasting Columns Following Irregular Distance?

Jun 21, 2014

I am trying to copy several columns into another sheet within the same workbook.

I want to copy Columns 1,2, 15, 19, 23, 40.

I don't know how to work with arrays.

View 4 Replies View Related

Find The Minimum Distance Between Two Points Using Two Separate Lists?

Jul 5, 2011

Is it possible to find the minimum distance between two points using two separate lists of different lengths without creating separate columns of equal row sizes

? I am trying to find the shortest distance form one point to another which is a fixed value. I am using the standard distance formula: =SQRT(((X2-X1)^2)+((Y2-Y1)^2)+((Z2-Z1)^2)).

My X1,Y1, Z1, has 2,000 rows in three columns that need to be compared to find the minimum distance from my one row/column of X2,Y2,Z2.

Is there a command that could go through and use each row of the X1, Y1, Z1, while looking for the MIN of the above formula without having to create an equal amount of rows for the X2, Y2, Z2?

I know I could do it by running this out the long way and then finding the min after I do all the math but I am wondering if there is an automated way for Excel to go through and do the forumla and then only return the MIN value?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved