Excel: Formulas for feet and inches

RebeccaR

New Member
Joined
Jan 29, 2019
Messages
4
I am trying to combine 2 cells in excel. I have feet in column Hand inches(fraction form) in column I. I want to combine these two cells in column M and have it display feet and inches in fraction form.

*I do not want to round.

I have tried to use this formula that i found on the web but it does round(Hence the ROUND that didn't register in my head when typing)
=INT(H4)&"'-"&ROUND(((I4-INT(I4))*12),0) & CHAR(34)

I have also tried concatenation but that displays the inches in a decimal.
=CONCATENATE(H4,"-",I4)

I appreciate any help that someone can give. Thank you!
 

GR00007

Board Regular
Joined
Apr 22, 2015
Messages
184
=h4&"-"&text(i4,"#?/?") <-- this will round
=H4&"-"&TEXT(I4,"#??/??") <-- this will also round, but will be more precise, I didn't know how many digits your data goes to - you can try both to see which you prefer
 
Last edited:

BGY23

Well-known Member
Joined
Aug 13, 2008
Messages
515
<colgroup><col width="190" style="width: 143pt; mso-width-source: userset; mso-width-alt: 6948;"> <tbody> </tbody>
=F5&" - "&text(G5,"# ??/??")

Change your cell address to fit. Itdoesn' matter hat your inches cell iindecimal
 

RebeccaR

New Member
Joined
Jan 29, 2019
Messages
4
=h4&"-"&text(i4,"#?/?") <-- this will round
=H4&"-"&TEXT(I4,"#??/??") <-- this will also round, but will be more precise, I didn't know how many digits your data goes to - you can try both to see which you prefer

for example my first set of data is:
H4 = 39
I4 = 7 11/16

I want M4 to say 39' - 7 11/16"


I tried the formula above and it gives me 39-123/16.

Thank you!
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
32,323
Office Version
365
Platform
Windows
Hi & welcome to the board
Try
=H4&"' - "&TEXT(I4,"# ??/??")&CHAR(34)
 

RebeccaR

New Member
Joined
Jan 29, 2019
Messages
4
Hi & welcome to the board
Try
=H4&"' - "&TEXT(I4,"# ??/??")&CHAR(34)

This is perfect. Thank you.

One more question: Is there a way to convert this number to a decimal? I was just told I need both.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
32,323
Office Version
365
Platform
Windows
How about
=H4+(I4/12)
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
32,323
Office Version
365
Platform
Windows
You're welcome
 

Forum statistics

Threads
1,082,334
Messages
5,364,677
Members
400,810
Latest member
elbashka

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top