Engineering All versions ◉ 8 views

=CONVERT()

units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=CONVERT(number,from_unit,to_unit)
Hover argument names in the table for details.
Output typeNumber
Popularity35 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =CONVERT() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download CONVERT.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
number Number Required value in from_units to convert.
from_unit Text Required units for number.
to_unit Text Required units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.

▣ Examples

تبدیل ‎۱ پوند جرمی به کیلوگرم =CONVERT(1, "lbm", "kg")
تبدیل ‎۶۸ درجه فارنهایت به سلسیوس =CONVERT(68, "F", "C")
ناهم‌خوانی نوع داده‌ها، بنابراین خطا برگردانده می‌شود =CONVERT(2.5, "ft", "sec")
تبدیل ‎۱۰۰ فوت مربع به متر مربع =CONVERT(CONVERT(100,"ft","m"),"ft","m")

✦ Tips

  • Unit names and prefixes are case-sensitive.

⚠ Common Errors

#VALUE! If the input data types are incorrect, CONVERT returns the #VALUE! error value.
Fix: برای number مقدار عددی و برای واحدها متن داخل گیومه وارد کنید.
#N/A If the unit does not exist, CONVERT returns the #N/A error value. If the unit does not support a binary prefix, CONVERT returns the #N/A error value. If the units are in different groups, CONVERT returns the #N/A error value.
Fix: Check the unit symbols and their uppercase/lowercase spelling

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.