跳到主要內容

如何在Excel中將cm或m轉換為英尺和英寸?

如果您現在有厘米數的列表,則要將這些數字從厘米轉換為英尺和英寸,格式為0'0'',如下面的屏幕截圖所示。 本文,我將討論如何在Excel工作表中將厘米或米轉換為英尺和英寸。

使用公式將厘米轉換為英尺和英寸

使用公式將米轉換為英尺和英寸


使用公式將厘米轉換為英尺和英寸

沒有內置的功能可以將厘米轉換為英尺和英寸,但是,您可以使用以下公式進行處理:

請複制以下公式並將其粘貼到要輸出結果的空白單元格中:

=TRUNC(B2/2.54/12)&"' "&ROUND(MOD(B2/2.54,12),0)&""""

然後,將填充手柄向下拖動到要應用此公式的單元格上,您將得到如下圖所示的結果:

備註:如果需要在英寸的小數點後保留兩位數字,請使用以下公式:

=INT(CONVERT(B2,"cm","ft")) & "' " & TEXT(12*(CONVERT(B2,"cm","ft")-INT(CONVERT(B2,"cm","ft"))),"0.00") & """"


使用公式將米轉換為英尺和英寸

如果需要將米轉換為英尺和英寸,可以使用以下公式:

請複制以下公式並將其粘貼到空白單元格中:

=TRUNC(B2*100/2.54/12)&"' "&ROUND(MOD(B2*100/2.54,12),0)&""""

然後,將填充手柄向下拖動到單元格以應用此公式,儀表號已轉換為英尺和英寸,如下面的屏幕截圖所示:

備註:如果需要在英寸的小數點後保留兩位數字,請使用以下公式:

=INT(CONVERT(B2,"m","ft")) & "' " & TEXT(12*(CONVERT(B2,"m","ft")-INT(CONVERT(B2,"m","ft"))),"0.00") & """"


  • 超級公式欄 (輕鬆編輯多行文本和公式); 閱讀版式 (輕鬆讀取和編輯大量單元格); 粘貼到過濾範圍...
  • 合併單元格/行/列 和保存數據; 拆分單元格內容; 合併重複的行和總和/平均值...防止細胞重複; 比較範圍...
  • 選擇重複或唯一 行; 選擇空白行 (所有單元格都是空的); 超級查找和模糊查找 在許多工作簿中; 隨機選擇...
  • 確切的副本 多個單元格,無需更改公式參考; 自動創建參考 到多張紙; 插入項目符號,複選框等...
  • 收藏并快速插入公式,範圍,圖表和圖片; 加密單元 帶密碼 創建郵件列表 並發送電子郵件...
  • 提取文字,添加文本,按位置刪除, 刪除空間; 創建和打印分頁小計; 在單元格內容和註釋之間轉換...
  • 超級濾鏡 (將過濾方案保存並應用於其他工作表); 高級排序 按月/週/日,頻率及更多; 特殊過濾器 用粗體,斜體...
  • 結合工作簿和工作表; 根據關鍵列合併表; 將數據分割成多個工作表; 批量轉換xls,xlsx和PDF...
  • 數據透視表分組依據 週號,週幾等 顯示未鎖定的單元格 用不同的顏色 突出顯示具有公式/名稱的單元格...
kte選項卡201905
  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
officetab底部
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=INT(CONVERT(B2,"m","ft")) & "' " & TEXT(12*(CONVERT(B2,"m","ft")-INT(CONVERT(B2,"m","ft"))),"0.00") & """"

Regarding to this formula how can you convert it into meters??
This comment was minimized by the moderator on the site
Hello, Jon,
If you want to convert feet and inches format to meters, the following formula may help you:

=LEFT(A1,SEARCH("'",A1)-1)*0.3048 + (MID(A1,SEARCH("'",A1)+2,SEARCH("""",A1)-SEARCH("'",A1)-2)*0.0254)


Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
=INT(CONVERT(B2,"m","ft")) & "' " & TEXT(12*(CONVERT(B2,"m","ft")-INT(CONVERT(B2,"m","ft"))),"0-?/8") & """" to show eights of an inch or ?/4 to show quarters.
This comment was minimized by the moderator on the site
Patrick, this is fantastic - i've created a sheet with a few outputs, i.e. 1/4s, 1/8s, and 1/16s. I'm planning on extending this to include values 1/32, 1/64.

Is there a formula i can use to calculate and display the lowest common denominator value in a separate box?

i.e. 1 ' 3 - 10/16" and 1 ' 3 - 5/8".... i want it to display the 1/8s value in a separate box?
This comment was minimized by the moderator on the site
182 converts to 5' 12". It should be 6' 0" instead.
This comment was minimized by the moderator on the site
182mm equates to 7-1/8". 1.892m or 189.2cm equates to 6' 0".
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations