Formula speed in excel?

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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
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

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]8[/TD]
[TD="align: right"]99.798[/TD]
[TD="align: right"]1:12:41[/TD]
[TD="align: right"]1373.052[/TD]

</tbody>
Sheet137

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]O8[/TH]
[TD="align: left"]=M8*1000/(HOUR(N8)+MINUTE(N8)/60+SECOND(N8)/3600)/60[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



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,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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