+ Reply to Thread
Results 1 to 3 of 3

Text and number in a cell with no decimal

  1. #1
    Registered User
    Join Date
    11-05-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    61

    Text and number in a cell with no decimal

    Hi , I have a small issues with number formatting

    i need to combine text and a number

    - Ex Water - 13

    The issues that i have is that when i do this excel adds decimals - Ex Water - 13,2

    How do i avoid this using number formatting?

    Thank you in advance

    Br

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Text and number in a cell with no decimal

    Try in custom format:
    "Water - "0.0
    Quang PT

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Text and number in a cell with no decimal

    If you mean you have text and number is separate cells and want to combine in another then use the TEXT function.

    A1:= Water
    A2:= 13.2
    A3:= A1 & " - " & TEXT(A2,"0")
    Cheers
    Andy
    www.andypope.info

+ 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. [SOLVED] Need to limit the number of decimal places of a number in a text string
    By Turbo Dog in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2013, 07:47 PM
  2. [SOLVED] copy number with 3 or more decimal places and paste the actual value as 2 decimal number
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2013, 12:57 AM
  3. Convert Number in Text format to Value with decimal
    By MAHMUZ in forum Excel General
    Replies: 4
    Last Post: 09-15-2010, 10:28 AM
  4. number to text but with only two decimal places
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-19-2010, 09:34 PM
  5. How do I change a text fraction. eg 1 1/2 into a decimal number, .
    By antac in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2005, 01:06 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