Formula speed in excel?

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Do you want the Column that has the km/hr to have the m/min or in a new column?
Anyway, the conversion is 1 km/hr = 16.6666666667 (16 2/3) m/min
 
Upvote 0
i want to change value km/h to m/min in same column.
can you explain clearly your method
 
Upvote 0
First of all please don't post in all capitals as it is considered to be shouting.
Second if you are going to post a link make it to the actual excel file and not an image as most won't retype your data for testing, anyway...

Assuming that the column you want changed is column O try the macro below on a copy of your data (UNTESTED)...

Code:
Sub ConvSpeed()
    Dim LastRow As Long, X As Long
    LastRow = Range("O" & Rows.Count).End(xlUp).Row
    For X = 8 To LastRow
        Cells(X, "O").Value = Evaluate("O" & X & " * 1000 / 60")
    Next
End Sub
 
Last edited:
Upvote 0
Hi,

I think all OP wants is to replace his formula in Column O for Meter/Minute...

I was having a difficult time understand what he wanted in another thread of his...

Anyway, formula in O8, copied down.


Book1
MNO
899.7981:12:411373.052
Sheet137
Cell Formulas
RangeFormula
O8=M8*1000/(HOUR(N8)+MINUTE(N8)/60+SECOND(N8)/3600)/60


NOTE: you'll probably need to change the Functions in the correct Language for your Excel.
 
Last edited:
Upvote 0
Hi,

I think all OP wants is to replace his formula in Column O for Meter/Minute...

I was having a difficult time understand what he wanted in another thread of his...

Anyway, formula in O8, copied down.

MNO
899.7981:12:411373.052

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet137

Worksheet Formulas
CellFormula
O8=M8*1000/(HOUR(N8)+MINUTE(N8)/60+SECOND(N8)/3600)/60

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



NOTE: you'll probably need to change the Functions in the correct Language for your Excel.

thank you jtakw
your formula its work
 
Upvote 0
thank you MARK858
trying helping me but your code give higher value.
First of all please don't post in all capitals as it is considered to be shouting.
Second if you are going to post a link make it to the actual excel file and not an image as most won't retype your data for testing, anyway...

Assuming that the column you want changed is column O try the macro below on a copy of your data (UNTESTED)...

Code:
Sub ConvSpeed()
    Dim LastRow As Long, X As Long
    LastRow = Range("O" & Rows.Count).End(xlUp).Row
    For X = 8 To LastRow
        Cells(X, "O").Value = Evaluate("O" & X & " * 1000 / 60")
    Next
End Sub
 
Upvote 0
thank you MARK858
trying helping me but your code give higher value.

Give examples of numbers that are converting to incorrect values, what the result of the code is is and what you expect it to be.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top