Calculating Distances With Obstacles?

Dec 10, 2011

I am looking to calculate Manhattan (rectilinear) distances for location to location.

I have been able to calculate that with a formula in excel based on the X and Y coordinates.

The issue is that I have obstacles between the coordinates. Is there anyway to incorporate this into excel to avoid doing it manually.

View 2 Replies


ADVERTISEMENT

Calculating Distances Between Back-to-back Locations

Aug 11, 2012

I have a layout something like the following:

A1
A2
A3

[Code]....

Where each (i.e., A1) represents a location. I have tried to use a coordinate system but this will not work for the back-to-back locations. (Assuming each location is 2 feet wide, For example A1 to C1 is 4 feet apart, not 2 feet (as Euclidean or rectilinear would calculate it as).

Would there be a way to incorporate an if statement for those locations that are back-to-back? As a rectilinear distance calculation would work as long as the locations are not part of the same "block".

Ultimately I am looking to have a matrix which contains all the distances between each location:

A1
A2
A3
B1

[Code].....

View 4 Replies View Related

Mileage Log To Record Specific Distances?

Nov 2, 2013

I'm creating a mileage log for my work as a traveling art teacher. Most templates have you just input the number on the odometer when you started and when you finished. Since I can never remember to check the odometer when I am getting in and out of the car I thought it might be easier to just record the distance from each location once and then record that number of miles each trip. I usually travel the same route so the mileage is always the same.

I have an array of numbers right now, with 3 columns listing my 3 most common start locations. Then I have 5 rows listing the 5 schools I travel to for work, and the distances from each start to each end in the array. On a separate sheet I have my log.

What I would like to be able to do is select a start location and an end location from a drop down list on the log and have the number of miles automatically appear in the miles column. Then I can double this for the return trip and total it at the bottom and calculate my expense.

I am having trouble writing a formula that works for all 15 possible distances, and I don't quite know how to write it so that it references my array and finds the correct distance for those two specific choices. So far I have the drop down menu's pulling from the array but I'm stuck at how to index the array using the information that is coming from the drop down list.

Since I travel to these locations multiple times I think it would be a lot faster than looking up the distance every time and typing it up manually.

View 7 Replies View Related

Lookup The Values Contained Within The Matrix To Get Distances Between Them

Oct 8, 2009

I'm updating my database of distances between different cities in our records... but the source that i have to lookup is actually a distance matrix....something like this...

From/ToMumbaiPuneDelhiKochiBanglore
Mumbai024014501800900
Pune240015501650700
Delhi14501550028002400
Kochi1800165028000500
Banglore90070024005000

Now i need to lookup the values contained within the matrix to get distances between them. I'm hoping if i can do that i dont have to actually manually sit and list down all the possible combinations of cities and distances between them but directly lookup the distances from this matrix.

View 2 Replies View Related

Calculating % GP Anyone

Nov 4, 2009

im running a new bar in Leeds and im trying to create a spreadsheet which will tell me how much to charge per drink to gain a 80% GP on products, ive got as far as listing the products and prices and calculating how much every measure (25ml) will cost. In the past ive used formulas where I can input the price i charge and it will calculate the GP (=SUM(D10/E10)*100-100) for example but id like to be able to type in the GP I want and for it to tell me the price i need, im not sure if tis possible but it will be a massive time saver.

View 9 Replies View Related

Calculating TAT

Mar 17, 2009

I have some activities that needs to be done ina specified time

Like for example

TAT HRShrsACT 14ACT 28ACT 324ACT 42ACT 54

And i have a sheet where in i need to calculate turn around time

ActivityStart timeEnd timeTATACT 1ACT 2ACT 3ACT 4ACT 5


Based on time entered in start time and end time the TAT column should calculate the TAT based on the above standards.

I also would liuke to exclude weekends(Saturday, sunday). Also the TAT should only be calculated during working hrs between 7:30 PM to 4:30 AM.

View 9 Replies View Related

Calculating Cost Per Second

Oct 25, 2007

I'm trying to make a worksheet where I can calculate the cost of a mobile postpaid subscription. It is charged per minute and the cost differs depending on which of the 2 available networks the customer is calling to. The first 20 minutes are free, not depending on network.

Edit:
Charges to network A is 1,79,- per minute after the first 20 minutes are spent.
Charges to network B is 2,29,- per minute after the first 20 minutes are spent.

To sum up:
1. The customer makes a call.
2. If there there are available free minutes, these should be spent first.
3. The customer is charged per minute, depending on network called.

View 14 Replies View Related

Calculating The Ballots That Come In

Mar 1, 2008

I am on an auto show board and want to come up with a way of calculating the ballots that come in, using excel. Ballot points are accrued as follows: 5 points for 1st place, 3 points for 2nd place, 1 point for 3rd place. With about 25 different categories (classes) and I am estimating participants at around 100.where I can in the automotive field knowing there is nothing besides personal gain.

View 12 Replies View Related

Cells Not Calculating?

Nov 9, 2008

I am having a problem with some of the cells in a spreadsheet not calculating.

For example, in column A, all the cells have formulas that pull data from another sheet. When I enter the formula, only the formula shows (not the result). I can't figure out what is wrong as the formulas in column B work fine (the results are showing, but not using the same data that column A is).

I am thinking it may have something to do with the data being used to calculate the formulas but not sure. How can I resolve this?

View 7 Replies View Related

Calculating Percentiles

Dec 5, 2008

For my Intro to Engineering class, I collected data of two filter media in the laboratory. The data included the % of the media which passed through a sieve and the sieve openings. For use in a certain equation, I need the opening size at the 10th, 30th, 50th, 70th and 90th percentiles. I've tried searching on the Microsoft website but I don't think the PERCENTILE function will work correctly with the given data. I also tried using the slope between points to find the opening sizes at the percentiles mentioned, but doing so yielded different results from my professor's. Attached is the data I collected organized in tables and graphs of the data. I have also attached a pdf file of an example which my professor has given us.

View 5 Replies View Related

Calculating Percentages

Mar 10, 2009

I think a really easy no brianer, I need to find the difference in percentage terms of two values. I am using =(B2-A2)/ABS(A2)

where B2 = 24.09
and A2 = 21.08

View 2 Replies View Related

Calculating Cost

Apr 17, 2009

Problem - billing spreadsheet for prisoner fee.

1 - 8 hrs = $55
9 - 24 hrs = $55 + $65 or $120
Anything over 24 hrs - $65 for each additional (24 hrs) ($185)

So if you were locked up for 6 hrs it is $55. If you were locked up for 18 hrs it is $120. If you were locked up for 28 hrs it is $185. And if you were locked up for 49 hrs it is $250. Cell F5 contains number of hours locked up - I would like cell I5 to calculate the cost of the stay. I am proud of myself for figuring out the date and time subtraction - but this part has me stumped.

View 5 Replies View Related

Calculating Rise In CPI

Jun 9, 2009

In order to compute and forecast an estimate of the triennial rent adjustment, i need to compute the rise in the cpi (table) from the lease date (cell c3) and the present date (cell a2) or the closest publishe date existing in the table. The % rise is easy to calculate present index / opening index -1 = % rise in cpi. I update the index monthly when onthe bls publish it.

View 3 Replies View Related

Calculating Months

Jun 20, 2009

I input a month as a start date, and then want the next x number of cells to increment by one month based on the start date. I thought this would be easy using the preset DATE function but I can't get the thing to do what I want.

View 9 Replies View Related

Calculating Using Time

Nov 12, 2009

Firstly, i'd like cell G5 to show the amount of time worked i.e diff between E6 & F6. Secondly I'd like help with the formula for cells AF6 & AG6 which would require AB6-AC6 divided by the frames, every time I try it I get a messed up answer.

View 14 Replies View Related

Calculating Between Two Times

Nov 24, 2009

I had an excellent response last time I posted here, this time I’m stuck again with a new formula. I’m trying to calculated amounts between different times, but keep tying my self in knots with complicated IF formulas.

Is there an easier way to work out hours worked between 2 times, but too complicated things further I need three separate amounts so I’m guessing I’ll need three separate formulas

Hours between 00:00 – 06:00
Hours between 06:00 – 19:00
& hours between 19:00 – 00:00

An example could be, 05:00 – 20:00 should be 1,13,1

View 11 Replies View Related

Calculating Field On A VBA From

Jun 20, 2007

I have run into a problem I have not found a solution for surprisingly. I need to calculate several fields on the form prior to saving it and thus exporting the data to the worksheet. All I can find is how to calculate the field in a worksheet and then reference it with VB code on the form. Is what I want to do possible?

If I run into many more problems I may want to shop this project out as my schedule barely allows for the work I have let alone attempting to learn VBA on the fly.

If anyone is interested I can post the project so far along with the detail of what I want it do in the end.

View 9 Replies View Related

Calculating Cells ..

Apr 1, 2009

I have the workbook set to Auto Calc the Cells, which seems to be a bad idea, because with the amount of formula in the workbook, it slows the whole thing down and makes it impossible to do anything within it.

Is there a way that I can speed this process up, using some code when I run certain sections?

There is a copy of what I am doing, so you can see the amount of formula.

View 13 Replies View Related

Calculating Median

Jul 27, 2009

I have a list of hotel IDs in one column of my spreadsheet. In the next few columns, I have ratings that customers gave the hotel for cleanliness, location, room, etc.

What I need to do is calculate the median of all the ratings for each specific hotel, in a separate column.

An example of what I have: ...

View 8 Replies View Related

Calculating Percentages ...

Jul 26, 2006

I'm sure this will be an easy calculation for most of you...........

If I have two numbers, ie. 390 and 217, how can I calculate the difference
between the two figures as a percentage? (These two figures represent sales
in two months and I need to know the difference in percentage terms).

View 10 Replies View Related

Calculating Overtime

Apr 3, 2008

I'm looking to calculate OT wages when they happen vs only at the End of Week totals. ie... if the employee hits 40 hours midshift on a Wed, I want to calculate what the total dollars would be for Wed.... a few hours at regular time plus what ever hours above 40 at time and a half.

View 9 Replies View Related

Formula For Calculating Tax?

Feb 12, 2012

I've made a spreadsheet that allows the user too enter their clock in and out times in a day for a week, it allows you too fill in two weeks worth (because we get paid fortnightly). It automatically calculates each week's pay once it has been filled in, all I need is a formula too calculate how much they would be paid after tax. I can work how much they will be paid for the 2 weeks befor tax, but I just need a formula too deduct tax from this.

View 9 Replies View Related

Calculating Top 10 Costs

Jan 9, 2013

I have 3 columns

Column A is a list of suppliers
Column B is a list of purchase orders (there may be several purchase orders for each supplier)
Column C is a list of values

I am trying to show the top 10 suppliers in terms of value, not sure on the best way to go about it

View 3 Replies View Related

Incorrectly Calculating Every Tab The Same?

Feb 6, 2014

I have a several tabs that are each named the abbreviation for an element (i.e. Al, Sb, etc.) and I am trying to write a formula to display the full element name based on the name of the tab and a table in another sheet. I have written the formula below which works when I enter the formula and press enter on each sheet, but when I click "Calculate Now" to run the calculations for the whole file Excel will return the name of whichever element I last calculated manually (click in the formula and press enter) on every sheet. Why does Excel calculate correctly when I press enter but then change it when I calculate the whole file?

=INDEX(MCL!$A$1:$C$28,MATCH(RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))),MCL!$B$1:$B$28,0),1)

*the table "MCL" that it is looking in has the full element name in column A and the abbreviation in column B

View 3 Replies View Related

Calculating R-squared

Dec 24, 2007

I'd like to calculate the r-sqaured of the S&P 500 performance in an election year to see if that has any effect on the market's performance.

The data I have is below. The election years start in 1928 and are every 4 greater than that. How would I set it up to use the rsq forumla?

S&P 500 Index
192612%
192737%
192844%
1929-8%
1930-25%
1931-43%
1932-8%
193354%
1934-1%

View 9 Replies View Related

Calculating Percentages In XL 03

Mar 2, 2008

I work at a library and have been asked for help by the Asst. Director. The problem is, I have next to no Excel experience, just what I've been reading in the Help files and Online.

We are using Excel 2003 and running XP. Here is his predicament: he has an excel document that lists the books we have ordered from a publisher. Column I has the MSRP for the book and Column J has the discounted price for the book. We are trying to get Column L to show the percentage of the discount that we received. This is what i've come up with:

example for line 255 typed in as formula for L: =1-7.95/14.98

It comes out correct when I type in the formula as I show above, but when I try typing in the formula (as it should look:=1-J255/I255) , i get an error message: #VALUE! ...

View 9 Replies View Related

Calculating A Median Age

Apr 18, 2008

I have a list of ages 10-65 and then different number of participants associated with each age, ie: 10 - 5,071, 11 - 6,069, 12 - 8,465, etc. to age 65. I am try to calculate the median age of all participants.

View 9 Replies View Related

Calculating Days ..

Sep 15, 2008

What I would like to do is insert a formula into column E that would calculate the number of days from when the count is at 50 to when the next count is i.e. for part 6689841 the time between when the count was 50 and when it was at 20, so the difference between 21/01/2008 and 08/08/2008 in the above example. It does not matter what the count number is (it could be any number except 50), I'm only concerned with every time the count is at 50 how long it is until the next count and to show the result in days.

View 9 Replies View Related

Calculating Totals

Nov 1, 2008

I am attempting to build a spreadsheet for work, and I'm having trouble calculating a correct total.

In essence, the bit of my spreadsheet I'm concentrating on is 2 columns:

Column A is headed "Type of Work" and Column B is headed "Completed".

The Type of Work will either be Letters or Memos, and the Completed will either be Yes or left blank to indicate No. For other reasons, No has to be represented by a blank cell.

At the moment, I have 12 rows, going from A2 to B13, with data such as the following:

Letters Yes
Letters Yes
Letters
Letters
Letters Yes
Letters
Letters Yes
Memos
Memos Yes
Memos
Memos
Memos Yes

I need a summary section at the side with the following calculations:

Total Number of Entries
Total Number Outstanding
Total Number of Letters Outstanding
Total Number of Memos Outstanding

However, as I have only populated it with 12 rows of data for my testing purposes, I need to build formulas to take into account the fact that a maximum of 2000 rows may be filled in by other people over the next few months. Therefore, my formulas look like the following:

Total Number of Entries (stored in E2):
=COUNTA(B3:B2000)

Total Number Outstanding (stored in F2):
=E2-(COUNTIF(C3:C2000,"Yes"))

Both of the above formulas work perfectly, and when I enter a 13th and 14th row, the totals update as I want them to, so I have no problems there.

However, I am struggling to enter a correct formula which will calculate the total number of Letters that aren't Completed.

I did set some names and tried to use:
{=SUM((Type="Letters")*(Completed="Yes"))}

but it gave me a #NA error, presumably because the named range was looking at all the empty cells up to A2000.

View 9 Replies View Related

Copying But Not Calculating

Feb 18, 2009

I'm copying a formula and pasting it to a group of cells. It copies correctly, but I DO NOT want it to calculate anything until other input cells are filled in the columns for the rows that I have pasted the formula. I would like it to show "nothing" until other data is inputted.

View 9 Replies View Related







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