Unit conversion is one of those tasks that we perform in our day to day life. In many situations, you may need to convert millimeters (mm) to inches (in). To perform this type of task you can always use Microsoft Excel. This article will show you 3 methods of how to convert millimeters (mm) to inches (in) in Excel.
Download Practice Workbook
You can download the practice workbook from the link below.
Arithmetic Formula to Convert Millimeter (mm) to Inches (in)
To get Inches (in) from Millimeter (mm) the following formula can be used:
- X is the dimension is Inches (in)
- Y is the dimension in Millimeters (mm)
3 Methods to Convert Millimeter (mm) to Inches (in) in Excel
Suppose, you have a number of wooden blocks. You have their lengths in Millimeters(mm) units. Now, you want to convert them into Inches (in) units. I will show you 3 quick methods to do this.
1. Using the Excel CONVERT Function to convert Millimeter (mm) to Inches (in)
The CONVERT function is a built-in function in excel that helps you with unit conversions. Now, follow the following steps to get Inches (in) from Millimeters (mm) using the CONVERT function.
- First, add a column next to the Millimeters (mm) column for Inches (in).
- Next, select cell D6 and put the following formula.
Here, C6 is the starting cell of the Length in Millimeters (mm), “mm” is the second argument (from_unit), and “in” is the last argument (to_unit). Also, D6 is the starting cell for the Inches (in) column.
- Finally, drag the Fill Handle for the rest of the Inches (in) column and you will get your results in inches.
Read More: How to Convert inch to mm in Excel (3 Simple Methods)
- Convert Inches to Square Feet in Excel (2 Easy Methods)
- How to Convert CM to Feet and Inches in Excel (3 Effective Ways)
- Convert Cubic Feet to Cubic Meters in Excel (2 Easy Methods)
- How to Convert Feet and Inches to Decimal in Excel (2 Easy Methods)
- Millimeter(mm) to Square Meter Formula in Excel (2 Easy Methods)
2. Using the Arithmetic Formula for Conversion from Millimeter(mm) to Inches (in)
In this method, we will find the dimension in Inches (in) from Millimeters (mm) by inserting the arithmetic formula manually. Now, follow the quick steps mentioned below.
- At the very beginning, add a column next to the Millimeter (mm) column for Inches (in).
- Now, click on cell D6 and type in the following formula.
- At this point, drag the Fill Handle for the rest of column D. Finally, you will get your results.
Read More: How to Convert MM to CM in Excel (4 Easy Methods)
3. Using VBA to convert Millimeter (mm) to Inches (in)
This method includes the use of VBA code to convert Millimeters (mm) to Inches (in). Now, follow the following steps to get your result.
- First of all, add a column next to the Millimeter (mm) for Inches (in).
- Now, press ALT+ F11 to open the Visual Basic window.
- At this point sequentially select, Sheet 4 > Insert > Module
- Then, copy the following code and paste it into the blank space.
'This Code will help you to convert mm to inch Sub Convertmm2in() Dim Rg As Range Dim Lastrow As Long 'Here we are asking VBA to find out the last cell in the column with a value Lastrow = Range("C" & Rows.Count).End(xlUp).Row 'These lines of code select the value in the millimeter column. 'Then it puts the inches value in the inches column multiplying mmm by 1/25.4. For Each Rg In Range("C6:C" & Lastrow).SpecialCells(xlCellTypeVisible) Range("D" & Rg.Row).Value = Range("C" & Rg.Row).Value * 1 / 25.4 Next End Sub
- Next, press F5 to run the code.
Here, the entire process is shown in the following screenshot.
- After that, a box will appear like the figure below. Then, select Convertmm2in and hit the Run button.
- Lastly, running the code will give you the following results.
Read More: Converting CM to Inches in Excel (2 Simple Methods)
Things to Remember While Using CONVERT Function
- Keep in mind that the unit codes or names are case-sensitive. If you use “MM” and “IN”, you will get a #N/A Error.
- When you are writing the formula, Excel will show you a list of available units. Though “mm” is not a part of that list, it will work just fine.
- If you do any mistake while entering the formula, for example: not following the exact format, you will get the #N/A Error in return.
I hope you found what you were looking for from this article. If you have any queries, please leave a comment below. For more articles like this, you can visit our website ExcelDemy.
- Convert Feet to Meters in Excel (4 Simple Methods)
- How to Convert Meters to Miles in Excel (3 Simple Methods)
- Convert Decimal Feet to Feet and Inches in Excel (3 Methods)
- How to Convert Meters to Feet in Excel (4 Useful Methods)
- Convert Inches to Feet and Inches in Excel (5 Handy Methods)
- How to Convert Kg to Lbs in Excel (4 Easy Methods)
- Convert Square Feet to Square Meters in Excel (2 Quick Methods)