+ Reply to Thread
Results 1 to 5 of 5

Add a text string to end of number formula with precision

  1. #1
    Registered User
    Join Date
    07-14-2009
    Location
    CT, USA
    MS-Off Ver
    Excel 2016
    Posts
    71

    Add a text string to end of number formula with precision

    So I'm trying to add a string to the end of a number formula. For instance if I say

    =50/12 & " inch"

    Result 4.16666666666667 inch

    Is there a way to change the decimal point of the result if it has a text string in it with all of it stemming from the same cell? Or would this have to be a multi cell process? It would be helpful if all this was done in the same cell.
    Last edited by Mase123y; 04-16-2019 at 12:11 PM.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Add a text string to end of number formula with precision

    Maybe this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A
    1 4.16666666666667 inch
    Last edited by AlKey; 04-16-2019 at 09:25 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Add a text string to end of number formula with precision

    I'm not sure whether I'm understanding your problem. Are you looking for a result like the following?
    4.17 inch

    If so then try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Or more or less equivalently:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-14-2009
    Location
    CT, USA
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Add a text string to end of number formula with precision

    Quote Originally Posted by GeoffW283 View Post
    I'm not sure whether I'm understanding your problem. Are you looking for a result like the following?
    4.17 inch

    If so then try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Or more or less equivalently:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Yes this works, thanks a lot. I didnt even think of using the Round function. I was trying to do it through formatting.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Add a text string to end of number formula with precision

    OK - glad to help and thanks for the feedback.

+ 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. Replies: 2
    Last Post: 01-05-2018, 12:31 AM
  2. Text/Number String Formula Help
    By cs566 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-07-2017, 03:40 PM
  3. Adding and removing String text to number in excel formula
    By xpnciv in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-24-2016, 01:23 AM
  4. Need Formula to extract number from text string
    By tuongtu3 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-28-2015, 06:01 PM
  5. [SOLVED] Need a formula to isolate a number from a text string
    By chicolocal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 01:19 PM
  6. Formula to Count the Number of Occurrences of a Text String in a Range
    By poug1903 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-10-2011, 06:49 AM
  7. Replies: 1
    Last Post: 09-18-2009, 04:15 PM

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