🌐
Microsoft Support
support.microsoft.com › en-us › office › convert-function-d785bef1-808e-4aac-bdcd-666c810f9af2
CONVERT function - Microsoft Support
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016 · Converts a number from one measurement system to another. For example, CONVERT can translate a table of distances in miles to a table ...
🌐
Corporate Finance Institute
corporatefinanceinstitute.com › home › resources › convert function
Excel CONVERT Function - Formula, Example, Template
November 16, 2023 - The Excel CONVERT Function is useful in converting units from one measurement system to another measurement system. For example, CONVERT will help us in converting
🌐
Wikihow
wikihow.com › computers and electronics › software › office › spreadsheets › microsoft excel › how to convert measurements in excel: convert function
How to Convert Measurements in Excel: CONVERT Function
September 10, 2025 - Excel’s CONVERT function converts a measurement from one unit to another. First, learn how to enter the CONVERT function manually or with Excel's Formula builder, then discover how to apply that conversion to an entire column of data.
🌐
Exceljet
exceljet.net › convert function
Excel CONVERT function | Exceljet
April 29, 2023 - , CONVERT will automatically perform a conversion and return a numeric result in the specified "to unit". In the example shown... This example shows one way to calculate BMI (Body Mass Index) in Excel. The standard BMI formula is: BMI = weight (kg) / height (m) 2 The approach used here is to first convert height in inches and feet to meters, and weight in pounds to kilograms, then use the standard metric formula for BMI.
🌐
ExtendOffice
extendoffice.com › documents › excel › how to convert various unit measurements in cells in excel?
How to convert various unit measurements in cells in Excel?
Then you will see the unit measurement of all data in A1:C5 is converted to yard, and fill the E1:G5. Note: In the formula, you must use the right shortening of measurements. For example, you can use the "yd" but not the "yard", "LBM" but not the "Pound mass", etc. You can find out the right shortenings on the following web page: http://office.microsoft.com/en-us/excel-help/convert-HP005209022.aspx?CTT=5&origin=HP003056127
🌐
Reddit
reddit.com › r/excel › adding custom units to convert function
r/excel on Reddit: Adding Custom Units to CONVERT function
November 3, 2020 -

I found this on StackOverflow as a workaround udf and conversion boilerplate, but I don't know how to implement it. Can someone break it down for me? (explain like I'm five?) :)

Top answer
1 of 3
1
That's a clever solution! So, implicit in the CONVERT function is a relative difference between the two units that are being converted between. Typically one of these is set to 1 and the other relative to that (1m = 1000mm) but it would work the same if this were not so. What this answerer has done is created a user-defined function that mimics the CONVERT function but in order to deal with custom units it needs a place to store their relative sizes - this is what is in the Factor function. The factor function is just a list of unit sizes. Here is the MYCONVERT function with my comments: Function MYCONVERT(Val As Double, FromUnit As String, ToUnit As String) As Variant 'We are mimicking the CONVERT function so first we assume the units requested are standard units included in that function On Error GoTo CUSTOM 'if they arent, this assumption gives an error which would normally stop the code and tell you something went wrong. We know that if there is an error we should look in our custom units instead, so pick up the code from the CUSTOM point MYCONVERT = WorksheetFunction.CONVERT(Val, FromUnit, ToUnit) 'attempt the default conversion - if this works, the function value MYCONVERT contains the answer, if not then we go to the CUSTOM point Exit Function 'if we have reached this line it means we didnt get an error, the conversion was of standard units and we can leave the function (return the answer) CUSTOM: 'We make two calls to the Factor function to retrieve the relative sizes of these two units Dim fromFactor, toFactor As Double fromFactor = Factor(FromUnit) 'this is calling the factor function, which takes the unit name and responds with the factor size as a number (double) toFactor = Factor(ToUnit) 'It is possible that the user did not specify both units (or that for some reason we specified a unit with no size) so in that case we should return N/A If fromFactor = 0 Or toFactor = 0 Then MYCONVERT = CVErr(xlErrNA) Exit Function End If 'If we have reached here we should have two valid unit sizes so we do the conversion ourselves and return the answer MYCONVERT = Val * (fromFactor / toFactor) End Function In case it's not clear, both these functions need to be put in a Visual Basic Module. To implement your own units, specify them according to this rubric: Case "dozen" Factor = 12 Case "dz" Factor = 12 Case "unit" Factor = 1 For example: Case "o_21" Factor = 3.42 Case "po_210" Factor = 11.9e6 Case "u_235" Factor = 22.21e15 (I'm hoping five-year olds have a basic grasp of nuclear atomic physics)
2 of 3
1
Ok u/xebruary and u/A_1337_Canadian , I found the problem. I had done all the things that you both mentioned before I posted this, but there was one thing I didn't do. As u/A_1337_Canadian points out, the Factor function needs to be above the MYCONVERT function. When I copied it in first, it automatically set the name of the file, or Module, to Factor. Then when I tried to use MYCONVERT, it said it didn't exist. I clicked the dropdown and changed the name of the Module, and voila! It works a treat now. Thanks again for both of your inputs.
🌐
The Bricks
thebricks.com › resources › guide-how-to-use-convert-formula-in-excel
How to use Convert Formula in Excel
The CONVERT function can be combined with other Excel functions to perform more complex calculations. For example, you might use it with SUM to add up converted values: =SUM(CONVERT(A1, "in", "cm"), CONVERT(A2, "in", "cm")) This formula converts ...
🌐
SimonsezIt
simonsezit.com › article › convert-function-in-excel
How to Use CONVERT Function in Excel? A Step-by-Step Guide
May 21, 2025 - Using the formula =CONVERT(number,from_unit,to_unit) is the easiest way to convert values. Enter the function in the destination cell and you can easily select the conversion units from the drop-down.
🌐
Wall Street Mojo
wallstreetmojo.com › home › all blogs › excel resources › convert function in excel
Convert Function In Excel - Meaning, How To Convert Units?
December 20, 2024 - The next argument is “To Unit.” So, we are trying to convert to “Pounds,” so choose “LBM.” · Once the arguments are supplied, we need to multiply the value by 1,000 to get the result in pounds. So, close the bracket and multiply Excel by 1,000. Then, press the "Enter" key to get the result. Now, drag the formula to other cells.
Find elsewhere
🌐
SFMagazine
sfmagazine.com › articles › 2019 › september › excel-converting-units-of-measurement
Excel: CONVERTing Units of Measurement | IMA
In the figure, the formula =CONVERT(B2,C2,D2) converts the numbers in column B from the units in C to the units in D. As you can see, the CONVERT function handles almost every measurement conversion you might need. There are other functions in Excel that do conversions: The BASE function converts ...
🌐
SpreadsheetWeb
spreadsheetweb.com › home › conversion units in the convert function in excel
Conversion Units in the CONVERT Function in Excel
January 26, 2024 - Standard Area Units: Common conversions such as square feet ("ft2" or "ft^2"), square inches ("in2" or "in^2"), and square meters ("m2" or "m^2") are straightforward with Excel, useful for everyday measurements and construction projects.
🌐
Journal of Accountancy
journalofaccountancy.com › home › magazines › microsoft office: excel’s versatile convert function
Excel's versatile CONVERT function - Journal of Accountancy
March 1, 2018 - For example, to convert 37.3 C in cell B3 below, I’ve entered the formula =CONVERT(B3,”C”,”F”) in cell B9 to derive 99.1 F. The syntax of this function requires you to reference the number to be converted, the unit of measure you are ...
🌐
Aiexcelbot
aiexcelbot.com › formulas › parser › convert
Formula Generator - CONVERT function
The term "Google" in this context refers to Google Sheets, a cloud-based spreadsheet software. Google Sheets offers a range of formulas and functions for data manipulation, calculations, and analysis. It provides similar functionalities to Microsoft Excel.
🌐
Stack Overflow
stackoverflow.com › questions › 77802035 › excel-create-a-unit-conversion-sheet-multiple-links
vba - Excel - Create a Unit Conversion sheet - Multiple links - Stack Overflow
A cell can either contain a formula or a value. You will need VBA to achieve what you want - using the worksheet_change-event and coding the calculations ... Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) Dim iVal As Single Const TAB_RNG = "A2:C5" ' Modify as needed Const M2IN = 39.7 Const IN2FT = 1 / 12 With Target If .CountLarge = 1 Then If Not Application.Intersect(Target, Me.Range(TAB_RNG)) Is Nothing Then Application.EnableEvents = False Select Case .Column Case Is = 1 iVal = .Value Case Is = 2 iVal = .Value / M2IN Case Is = 3 iVal = .Value / IN2FT / M2IN End Select Me.Cells(.Row, 1) = iVal Me.Cells(.Row, 2) = iVal * M2IN Me.Cells(.Row, 3) = iVal * M2IN * IN2FT Application.EnableEvents = True End If End If End With End Sub
🌐
TechOnTheNet
techonthenet.com › excel › formulas › convert.php
MS Excel: How to use the CONVERT Function (WS)
The Microsoft Excel CONVERT function will convert a number from one measurement unit to another measurement unit. The CONVERT function is a built-in function in Excel that is categorized as an Engineering Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the CONVERT function can be entered as part of a formula in a cell of a worksheet.
🌐
Contextures
contextures.com › formulas › eng › convert
Excel Convert Function Examples Metric Imperial Switch
May 8, 2025 - Use Excel CONVERT function to quickly convert amounts from one measurement system to another. Change pounds to kilograms or miles to kilometers
🌐
Microsoft Community
techcommunity.microsoft.com › microsoft community hub › communities › products › microsoft 365 › excel
Convert one Unit to Another | Microsoft Community Hub
If use lookup vector sorted in ascending order and adjust result vector accordingly, simple LOOKUP(), which is available for any version, works
🌐
Super User
superuser.com › questions › 1713946 › converting-an-excel-field-with-multiple-units-of-measure-into-one
Converting an excel field with multiple units of measure into one - Super User
Unfortunately there is no easy single function to convert such complex units. Excel sees this data simple as text and is unable to enact any maths on it in its current state. You have to first separate the numbers out of the text, then apply the conversion formula yourself on each number and combine.
🌐
MyExcelOnline
myexcelonline.com › home › the ultimate guide to inches to meters – excel convert function guide
The Ultimate Guide to Inches to Meters - Excel Convert Function Guide | MyExcelOnline
November 28, 2024 - Use the CONVERT Function: Excel’s CONVERT function simplifies unit conversions, taking the number, source unit, and target unit as inputs. Syntax Matters: For inches to meters, the formula is =CONVERT(number, "in", "m").
🌐
Automate Excel
automateexcel.com › home › convert function – convert units in excel, vba, google sheets
CONVERT Function - Convert Units in Excel, VBA, Google Sheets
November 6, 2023 - This Tutorial demonstrates how to use the CONVERT Function in Excel to convert a number from one unit to another. The CONVERT Function converts a number from a measurement system to another.