+ Reply to Thread
Results 1 to 4 of 4

Merging two cells (feet and inches) with the proper quotations added

  1. #1
    Registered User
    Join Date
    12-13-2015
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    1

    Unhappy Merging two cells (feet and inches) with the proper quotations added

    I have 2 columns total. The first two columns are Feet and Inches (Width). I want to merge the first two columns together with proper quotations. Example: the first column has the number 1 and the second has the number 2. I want to merge these cells to become 1'2" . Can anyone help?? Thank you.

    I saw this formula:
    =INT(A1)&"' "&TEXT(12*(A1-INT(A1)),"# #/#")&CHAR(34)

    I'm just not sure how to use this.

    -Thank you.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Merging two cells (feet and inches) with the proper quotations added

    If all you want to do is combine the 2 cells, then maybe something simple like....
    =A1&"'"&B1&""""
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,229

    Re: Merging two cells (feet and inches) with the proper quotations added

    Hi parijoon and welcome to the forum,


    See if this example helps.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Merging two cells (feet and inches) with the proper quotations added

    That formula would expect the feet and inches to be in the same cell, expressed as fractions of feet. In your case you can do this in C1:

    =A1 &"'" & B1 & CHAR(34)

    That might look right, but you won't be able to do any arithmetic on it.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert feet and inches to decimal feet
    By hrg in forum Excel General
    Replies: 12
    Last Post: 04-11-2016, 05:19 PM
  2. Convert Feet and inches to decimal feet
    By Laserdude in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2014, 12:10 AM
  3. [SOLVED] Feet in decimal form to feet/inches
    By devpatel85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2013, 10:18 AM
  4. Convert Decimal Feet to Feet and Inches
    By Surveyour in forum Excel General
    Replies: 6
    Last Post: 10-17-2013, 12:48 PM
  5. Is there a formula for inches to feet and inches?
    By in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2012, 11:22 AM
  6. Convert feet and inches to deimal feet.
    By okenter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2011, 02:43 AM
  7. Replies: 1
    Last Post: 06-20-2005, 03:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1