Calculating Minutes Per Mile

Hello all,
I am trying to calculate the time it takes to run one mile during each route. I have made sheets with a map of the routes, there is no other data on those sheets.
The Two Things I'm Looking For
I am looking to enter the route number, and automatically have it populate the length in the length column, then by entering the time, have it calculate the minutes per mile average. I've looked and played for about 3 hours doing this, so I'm finally asking for some help.
Any would be greatly appreciated! Thanks

Add two columns to Table 1, Columns G and H. In the first new column enter the route number, starting at Row 2. In the second new column enter the distance, also starting at Row 2. Let's say your data fills cells G2:H4.
Enter this formula in cell E2 and copy it down: =vlookup(B2,G$2:H$4,2,)
Notes: Every time you expand the list of routes you'll have to modify the formula by changing the range of cells the formula refers to in the second argument.
You can put this 'lookup range' in a separate table, you'll just have to change the formula accordingly. For instance, if you put the range in cells A2 through B4 a table named "List" the formula would read: =vlookup(B2,List::b$2:B$4,2,)
Good luck,
Terry

Similar Messages

  • Time - Calculating "Minutes Per MIle"

    For years, I have using an Excel spreadsheet to input my running times. I have a column for "miles", one for "Time" (hours, minutes, second using a "date" cell format) and a column entitled "Minutes per Mile." The formula for obtaining the Minutes per Mile is simple: Miles/Time or "=D15/D14" for example. But when I import my Excel file into Numbers, it cannot correctly populate the "Minutes per Mile" cell. A warning message states: "the Operator "/" expects a number, but cell D14 contains a date."
    How can I make this work in Numbers?

    Thank you, Terry but it still doesn't work. I had to modify the formula you gave me as follows:
    =C15/(TIMEVALUE(D15)*1440)
    C15 is the actual number of miles, for example 13.4 (this cell is formatted as a number); D15 is total time of the run (hopefully you refer to this as the Minutes column), 2:37:57 AM (this cell is formated as Time using the cell inspector as you suggested); and E15 is the minutes per mile (this is also formatted as Time). When I insert the formula into cell E15, I receive an answer of 0.09. I don't know what that means; the time should have been 11:47 meaning 11 minutes and 47 seconds per mile. Am I formatting the cells incorrectly or is it the formula? I tried opening the Excel file in a program called NeoOffice and the calculation worked just fine. This is driving me crazy. Can you give me some more assistance? Finally, you are talking about "Numbers" not "Pages", right!

  • How to determine minutes per week with inconsistent start and end times...

    ver -> 10.2.0.4
    I'm looking for some guidance or some pseudo code in how to attack the following:
    Data
    target_nm  status       start_timestmap       end_timestamp
    DEVDB      Target Up    8/28/2009 9:49:08 AM  9/26/2009 6:34:23 PM
    DEVDB      Target Down  9/26/2009 6:34:23 PM  9/26/2009 6:36:23 PM
    DEVDB      Target Up    9/26/2009 6:36:23 PM How can I display, per week, the number of minutes a status was held? There are 10,080 minutes per week and I'm using to_char(to_date('8/28/2009 9:49:08 AM', 'mm/dd/yyyy hh:mi:ss AM'), 'WW') to determine the week number. The end result would be something like, in example:
    target_nm   wk    up           down
    DEVDB       35    [x minutes]  [y minutes]This, at first, seemed pretty straight forward, but where it gets wrapped around the axle is that the records of a status can span a number of weeks between the 'start_timestamp' and the 'end_timestamp.'
    My current approach is to isolate this down for a given day...if something is "started" then determine the number of minutes between trunc(start) +1 and start . If it has "ended" then determine the number of minutes between trunc(ended) and end.
    Resulting in something like:
    target_nm    status     day_of_year  minutes_of_status start_timestamp       end_timestamp
    DEVDB        Target Up  8/27/2009    296.3333          8/27/2009 7:03:40 PM  nullAny advice, a different perspective, or pseudo code would be greatly appreciated on how to turn the corner on showing these status's as they break down per week.
    Regards,
    -abe

    Hi,
    As you said, you just need to compute SUM (end_timestamp - start_timestamp), GROUPing BY week.
    The tricky part is what happens when an event is not entirely within one week. For example:
    DEVDB      Target Up    1/07/2009 11:00:00 AM  1/08/2009 2:00:00 PMThis event lasted 3 hours, but you want to count this as 1 hour in week '01', and 2 hours in week '02', not as 3 hours in either week.
    The solution is very much like the one in the following thread:
    [8i] Date/Time calculation problem...
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.
    Edited by: Frank Kulash on Mar 16, 2010 12:16 PM

  • Cost per mile report

    Hi
    I am new to the logistics module and have just started  learning the PM and CS modules. I was just trying to figure out a query raied by one of the clients regarding a report which will generate the "cost per mile".
    Actually the client wants to calculate the cost incurred on the fuel used to run their vehicles. These are fueled from a particular fueling station and the client wants to do a feasibility check on  the cost incurred on running the vehicles.
    Kindly help me with this. The client is actually looking for a standard SAP report for cost per mile.
    Thanks

    Hello,
    Also refer this [ THREAD|Re: error in Fleet management customising] and [link|Error when recording measurements in IFCU]
    Regards
    Nav
    Edited by: Desire_Naveen on Nov 4, 2009 12:35 PM

  • I purchased, the 400 minute per month plan. I can'...

    I purchased, the 400 minute per month plan. I can't make a phone call, and talk for two minutes, Without running out of skype credit. There's a problem with your system. I'm not receiving the benefits of what I paid for.
    My regards,
    goodshepherd9

    I think you may need to contact customer service regarding that matter. Just open the link pasted below to see the instructions on how to get in touch with customer service -
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Formula for minutes per month

    Post Author: olesco
    CA Forum: Formula
    How do I get the total number of minutes per month?
    RcvdDt                                Month  CalendarDays  #OfDays(excl Hol, Sat,&Sun)  MinPerDay  TotalMin/Mo
    8/13/2007   8:40:25AM            8/07      31                        23                                    1440          33120
    9/6/2007   1:27:00PM             9/07      30                         19                                    1440          27360
    10/9/2007   1:27:00PM           10/07     31                        22                                     1440          31680
    Any help is greatly appreciated. Thank you.

    Post Author: V361
    CA Forum: Formula
    This will give you the number of days in a month (just change {Orders.Order Date} to your date field.              day(cdlastdayofmonth ({Orders.Order Date}))
    You could then just multiply by 1440 to get total available seconds in the month.           day(cdlastdayofmonth ({Orders.Order Date})) * 1440
    If you are looking for available seconds Use your #0fDays(excl Hol, Sat, & Sun) formula and multiply it by 1440.  Hope this helps.

  • I am trying to import songs from a CD but it takes more than 15 minutes per song. What should I check?

    I am trying to import songs from a CD but it takes more than 15 minutes per song. What should I check?

    Do you have error correction turned on?  (iTunes preferences - General - Import settings.)  If so, it will take much longer to copy audio CD's.

  • Changing artists names in iTunes is very slow (1 minute per song) in compilation albums

    Changing artists names in iTunes is very slow (1 minute per song) in compilation albums. I am using iTunes 10.6.1 Mac OS X 10.6.8 on a MacBook Pro with 4GB RAM 2.66 GHz Intel processor and my itunes library is 340GB. My new music is on the computer's hardrive (about 16GB) and the rest is in an external HD.
    It used to work great until I switched to the new version of iTunes (10.6.1) and now changing the artist field is very very very slow (1 minute per song in compilaton albums)
    What happened? Can someone help me?

    Thank you both!!!!!!  Especially you, Limnos for adding onto the terrific answer from leonieDF.  Yeah, I'm seldom willing to let the software do the driving all by itself.  <heh>  However, to date I've been too lazy to work with what is currently there - and needing to know how to customize the software was my first step.
    I'm finally going to reduce the enormous physical size of my cd collection - organizing and storing the jewel cases is too great a nightmare not to mention that it has turned my livingroom into nothing more than a visually overwhelming variety of storage devices--spinners being my favorite, but now mostly unavailable outside of yard sales.  Favorite disks I WILL keep to play in the car (no, my player is too old to have a USB port).
    I'm getting a 2T external drive to hold the accumulation - but before that, I wanted to find out HOW to organize things so that I can find them myself - old school.  My ITunes libraries go back many years, but I now want a good cohesive way to save the way that I want - not the way that is set up for me.
    Thank you both again very, very much!!
    Charlene

  • Calculating beat per minute

    Hello,
    I wrote a multichannel data acquisition code including Respiration ,ECG and GSR (Galvanic Skin Response). I want to calculate beat per minute and breathing rate. I�ve used a threshold peak detector. I�ve thought that the difference of the index of the first peak and th index of the second peak generates the number of total samples between two consecutive counts. To count the beat rate per second I divided sample rate by the number of samples per beat. Then I�ve multiplied beat rate per second by 60 to generate beat rate per minute. I also did the same thing for breath rate per minute.
    The problem is the result wasn�t successful. As you can see in the attachment I�ve calculated bpm as 253 and brpm is 538. BPM should be
    60 for a healthy person and BRPM should be 15.
    Ther is nothing wrong with my signals. But as you can see in the diagram data comes as #4 and difference between index of the first peak and the index of the second peak is quite high.
    What do you recommend me to do to calculate the correct values.
    Thanks
    Attachments:
    multichannel.JPG ‏89 KB
    diagram.JPG ‏100 KB

    Have a look on the attached vi.
    The first loop runs in 1 second, generating an array of 100 random numbers;
    The second loop calculates the sum of the array elements, and would run every 0.2 seconds.
    Except that the occurence nodes synchronize the calculation with the availability of the data array.
    You can experiment the effect of occurence by removing the nodes : the vi still runs, but the led blinks 5 times more rapidly.
    Last comment : don't forget the ultimate set occurence when exciting the first loop, otherwise the second loop will wait for ever...
    Ask if you need more help.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Synchro_loops.vi.zip ‏13 KB

  • Calculating words per minute

    Hi, trying to write a typing tutor program.
    Having trouble calculating the words per minute.
    Does anyone know what Im doing wrong?
    import java.awt.*;
    import java.util.Timer;
    import java.util.TimerTask;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Font;
    import java.awt.Image;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JLabel;
    class TTutor extends JFrame{
        final JTextArea area= new JTextArea();
        final JTextField field = new JTextField(40);
        GridBagConstraints constraints = new GridBagConstraints();
        JLabel label = new JLabel();
        String[] phrase = { "In a world full of people",
                   "Only some want to fly",
                   "Isn't that crazy?"};
        int i = 0;
        int j = 0;
        int time = 0;
        double wps = 0;
        double wpm =0;
        int words= 0;
        int count = 0;
        public TTutor(){
         super("TTutor v1.0");
        void addGB (Component component, int x, int y){
         constraints.gridx = x;
         constraints.gridy = y;
         add(component, constraints);
        private void createAndShowGUI(){
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setSize(600, 300);
         setLocation(200, 200);
         setLayout(new GridBagLayout());
         area.setFont(new Font("Serif", Font.PLAIN, 18));
         area.setText(phrase[0]);
         area.setEditable(false);
         addGB(area, 1, 0);
         field.addKeyListener(new KeyListener(){
              public void keyTyped(KeyEvent e){
                  update(e);
                  count++;
              public void keyPressed(KeyEvent e){
                  if (e.getKeyCode() == KeyEvent.VK_LEFT){
                   System.out.println("Left");
                   e.consume();
              public void keyReleased(KeyEvent e){}
         Image image = Toolkit.getDefaultToolkit().getImage("keyboard.jpg");
         addGB(new ImageComponent(image), 1, 1);
         addGB(field, 1, 2);
         Timer timer = new Timer();
         TimerTask task = new TimerTask(){
              public void run(){
                  time++;
                  String clock = String.valueOf(time);
                  System.out.println(clock);
                  System.out.println(count);
                  System.out.println(words);
                  System.out.println(wps);
                  System.out.println(wpm);
                  //calculate the words per minute - Anyone have any ideas?
                  try{
                  words = count/5; //1 word = 5 characters
                  wps = words/time;
                  wpm = wps * 60;
                  }catch(Exception e){System.out.println("error");}
                  String Wpm = String.valueOf(wpm);
                  label.setText("");
                  repaint();
         timer.scheduleAtFixedRate(task, 1000,1000);
         addGB(label, 2, 2);
         setVisible(true);
         field.requestFocus();
        public void update(KeyEvent ke){
         char c = ke.getKeyChar();
         System.out.println("" + (int)c);
         try{
         if (field.getText().equals(area.getText())){
             phrase[j] = phrase[j++];
             area.setText(phrase[j]);
             field.setText("");
             i=0;
    }catch(Exception e){System.out.println("error");}
         if (j == phrase.length){
         field.setText("");
         field.setEditable(false);
         area.setText("Finished");
         if (c == 8){
             ke.consume();
             System.out.println("Backspace consumed: "+ke.isConsumed());
             field.setText(area.getText().substring(0, i));
             return;
         if (i < area.getText().length()){
             char ac = area.getText().charAt(i);
             if (c == ac){
              System.out.println("match");
              i++;
             }else{
              System.out.println("no match");
              ke.consume();
         }else{
             ke.consume();
        public static void main (String[] args){
         java.awt.EventQueue.invokeLater(new Runnable(){
              public void run(){
                  new TTutor().createAndShowGUI();
    }Regards ABourke.

    Does anyone know what Im doing wrong?http://www.catb.org/~esr/faqs/smart-questions.html
    Now, before you take that the wrong way, please understand that the folks who answer questions here are volunteers. You're asking them to do a great deal of work just to figure out what problem you're having; not what the solution is, what the problem is. It's in your best interest to make your questions interesting and easy to answer. I can assure that few people will find copying, compiling, running, and playing detective just to figure out what trouble YOU are having is not likely to be easy to answer or interesting to anyone.
    Please consider this carefully, google "SSCCE", and rephrase your question. Thanks!
    ~

  • How to set the payment Due date calculation as per working days.

    how to make changes in the vendor Payment terms so that while calculating the Payment due date as per Payment terms, system calculates it based on Working Days & not the Calender days ?
    Help is much appriciated.
    Thank you,
    Amit

    Hi,
    This is the standard settings by SAP, normally we couldn't change it to working day.
    Good luck
    Tao

  • CAR - minutes per month reporting

    CUCM - 9.1(1)
    I can report on the total amount of calls per month per number in CAR using:
    CAR > System Reports > Traffic > Summary by phone number
    I'm also trying to report on the total number of minutes a phone is in calls over a monthly period too.  How would I do this?
    Many thanks
    Trevyn

    If there's no pre-configured report for that, you could export the CDR data from the CAR web page and then use Excel to sort by number and calculate the total number of minutes for a certain month.

  • App to calculate call minutes per contacts, from the stock iOS Phone app.?

    Hi,
    I am looking for an app to keep track of my call minutes consumed per contact, so that I can have a summary wise view at regularly intervals (week/month).
    Most of the apps that I came across on the AppStore have their own in built Call Dailer and they track calls made from their app itself and not the regular calls made from the stock iOS app.
    Please help.
    Thanks in advance.

    Hi.
    Because Apps are sandboxed on iOS (to prevent viruses and to increase data protection), there is no way an app can have access to this information. You cannot do this on the iPhone. However, you might want to contact your cellular provider/ carrier to see if they have such feature on their app or on their website (which would use your cellular provider server data instead of the internal iPhone info.)
    Thank you for using Apple Support Communities.
    All the best,
    James

  • Import PO subsequent Debit: Taxes not calculated as per tax Code in MIRO

    Dear All,
    I am facing the problem while taking Subsequent debit (MIRO) of Import PO. I am using service Tax code 10.30 % .
    When I entered the amount 4000 INR. It calculated the taxes 348.18 which is not correct.
    I also check condition in FV13 its properly maintained.
    Thanks in Advance
    Regards
    Pawan Sarda

    Hello
    Thanks for ur Reply.
    MIRO --  Subsequent Debit -
    >Tax code - S3 ( 10.30 % Services Tax) -
    >PO NO. -
    > change Vendor ( Import Vendor to Domestic Vendor) -
    > Amount 4000 INR  -
    > also change Tax  Code of Line Item   -
    >Simulate
    Vendor A\c -
    >   4,348.18 INR Cr
    Stock A\c  -
    >  4,000.00 INR Dr
    Service Tax -
    >     338.04 INR Dr
    ECS             -
    >         6.76  INR Dr
    HECS          -
    >       3.38  INR Dr
    Above process I m doing against Import PO but I m not identify why its calculated Wrong Service Tax or calculating on which base amount ?
    Actual Entry
    Vendor A\c -
    >  4,412.00 INR Cr
    Stock A\c  -
    > 4,000.00 INR Dr
    Service Tax -
    >    400.00 INR Dr
    ECS             -
    >        8.00  INR Dr
    HECS          -
    >      4.00  INR Dr
    Edited by: pawansarda on Jan 21, 2012 11:41 AM

  • Calculating Frames Per Second Accurately

    I tried searching the forums for suggestions or code used to calculate FPS accurately... But was ultimately unsuccessful.
    I think I have a pretty basic understanding of how it works... but I'm still left wondering if there's a better... or correct way of attacking the problem.
    What I started out doing is taken a pre-cycle time sample using System's currentTimeMillis method, followed by the main parts I'm executing in my program and then took a second time sample. I subtracted the post-cycle from the pre-cycle to get the time... and it occurred to me that the currentTimeMillis is not exactly reliable. As it says in the API, "For example, many operating systems measure time in units of tens of milliseconds," when discussing that method.
    I then noticed the nanoTime method and decided to use that.
    It quite honestly seems to work perfectly for what I'm trying to accomplish.
    I pretty much used the same steps as before.
    But now my problem is that I want to limit the amount of frames per second to 60.
    I decided that I should try using the Thread class's sleep(long millis, int nanos) method.
    It seemed like it would work... but to my dismay, it did not.
    The milliseconds, for the most part, were correctly timed... but still not always. The nanoseconds even less so... but I knew that the nanoseconds would be less reliable-I decided to use microseconds. Using microseconds doesn't even work that well.
    So I wondered if there was an even better way... maybe a more 'manual' approach to fixing my problem.
    I would greatly appreciate any input/knowledge on the matter.

    its quite simple. Windows has an API call that can set the timer precision (its all based on some interrupt interval - I forgot the precise details). This precision is system wide, so if one application does it it is immediately active for all other applications running at that time. Applications can only lower it, so if you set it to 1ms then some other application cannot force it to 5ms for example.
    Now here comes JVM bug number two.
    As said the interval differs per system - sometimes it is 10ms, sometimes it is 15ms. The JVM wrongfully assumes it is always 10ms however. Do a test: try to sleep for some time that is a multiple of 10 (without the long running thread hack active); you'll find that the precision still sucks. That is because in this specific case the JVM does NOT change the system wide timing precision. But if you sleep for any number of milliseconds that is not a multiple of 10 it will actually temporarily set the precision to 1ms.
    So the rule is: as long as one thread goes to sleep the precision is set to 1ms. When the last sleeping thread wakes up, it is reset to what it was. Then it also doesn't matter for what amount of time you make your real thread sleep as the long sleeping thread will not be sleeping for an amount that is a multiple of 10, thus forcing the precision to 1ms.
    Now say that you don't do the long sleeping thread hack and you make your own thread sleep for say 9ms, switching to 1ms precision temporarily. This behavior makes it so that sampling the passed time (before and after sleeping) can be imprecise; you'll find that most of the time you'll get sampling that matches the number of milliseconds you slept and sometimes it jumps to 10/15ms depending on the granularity of your system. This is a concurrency problem; sometimes the precision is reset before you get a chance to sample the current time.
    So to recap to give 100% accuracy with System.currentTimeInMillis(), you need to keep a thread sleeping at all time so the precision stays at 1ms.
    And then finally we come to bug #3, which is a problem in Windows itself: rapidly changing the precision (which happens when you make a single thread sleep for short intervals) can screw with the system clock. I don't know if this problem still exists in later iterations of Windows, but it is again a reason to do the long sleeping thread hack. Because this is a known issue I still call this a bug in the JVM because of the way they implemented the precision timer activation, which can trigger the problem in Windows. The command line switch mentioned in the above bug report SHOULD have fixed that... but you know, facepalm bug #4.
    But at the end of the day: even if at least 4 bugs can be named regarding precise timing in Java under Windows, the root of all evil is still the way timing is implemented in Windows itself making life too difficult for the poor JVM devs. What were the MS devs thinking at the time?

Maybe you are looking for

  • Unit calculation in routine

    Hi, How can I force unit KG for my key figures? Situation is as follows: I have an InfoCube which combines information for SEM. All sales are planned as kilograms (KG). The information from APO is also presented in kilograms, but that information use

  • How can I create a different hyperlink style for my footer only?

    My footer is dark so the site hyperlink styles don't look good. I'm sure there must be a way to set footer specific hyperlink styles, but I cannot find out how to do it. Please help! Thanks.

  • Windows media player does not open in new window

    When I go to a web site that may have several wmv files to view, if I view one, a new tab does not open for wmv. When I am through watching the clip, I close windows media, but it does not return me to the original web site, I just have a white scree

  • How do i import something from Garage Band to iMovie

    I need to know NOW really quickly

  • Turn on external speakers

    My Bose external speakers have suddenly stopped working and all connnections are good, as is the power source. I don't see the speakers in my system preferences for some reason. Any ideas on how to get the iMac to recognize them again? It's worked fi