**Please Note: **
This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), *this tip may not work for you*. For a version of this tip written specifically for later versions of Excel, click here: Combining Numbers and Text in a Cell.

Many times I want a description for my data. One approach is to put the description—a simple text string—near the cell containing the data that needs describing. For instance, a numeric value could go in cell B3, and the unit description in cell C3, which read together may be something like "3.27 miles."

Another approach is to put the description text and the numeric value together. Creating text strings easily accomplishes this feat. Here's a very simple example that displays "1 + 1 is 2."

="1 + 1 is " & 1+1

The quotation marks are important. By making the text string part of a formula, you can combine the description and the value within one cell.

The disadvantage of this approach is formatting the value takes more effort; since the result is a text string, numeric cell formatting does not apply. For example, consider the above formula and the need to display two decimal places. One might naturally display the Format Cell dialog box and then choose a Number format that has two decimal places, but the results would not change. (Remember, the result of the formula is text, not a number.)

To affect the value formatting, use the TEXT function. To force the above results to display the value to two decimal places, use the following formula.

="1 + 1 is " & TEXT(1+1, "0.00")

The different formats you can use with the TEXT function have been covered in other issues of *ExcelTips, *and you can also find more info in Excel's Help system. Here's an example that displays "Today is " along with today's date. Enter the following formula in some cell:

="Today is " & TEXT(NOW(),"dddd, mmm dd, yyyy")

Again, the quotation marks are important, as you are constructing a text string.

*ExcelTips* is your source for cost-effective Microsoft Excel training.
This tip (2582) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: **Combining Numbers and Text in a Cell**.

**Professional Development Guidance!** Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out *Professional Excel Development* today!

Need to get at the last value in a column, regardless of how many cells are used within that column? You can apply the ...

Discover MoreConvert a numeric value to text and you may be surprised by how Excel displays the value. Here's a run-down on exactly ...

Discover MoreAt the heart of working with Excel is the process of creating formulas that calculate results based on information within ...

Discover More**FREE SERVICE:** Get tips like this every week in *ExcelTips,* a free productivity newsletter. Enter your address and click "Subscribe."

2018-09-27 13:12:16

Hector Torres

Arun,

You can define your formula this way to achieve your result

TEXT(282/621*100,"0.0")&"%"

2018-08-13 09:58:47

Hamid

@Akram

Use Round function to determine the numbers of the digit.

2018-03-13 02:55:57

Akram

result 45.4106280193237%

how I decrease decimal? plz, tell me. I want result to be 45.4%

2017-03-31 04:22:12

Ashish Mishra

C_Name Date Mobile number Status Last Status First Status

Clark 19-06-2017 10:28 5214521520 Not Decided Call Later New

Clark 19-06-2010 10:28 5214521520 Not Interested

Clark 19-06-2011 10:28 5214521520 Not Decided

Alen 11-03-2016 10:20 9987848254 New Call Later ADC

Alen 11-03-2012 11:50 9987848254 ADC

Alen 11-03-2012 23:50 9987848254 Not Interested

Alen 11-03-2016 23:50 9987848254 Call Later

2016-12-31 02:38:03

Arun

My question is how to add on excel H8+S8+8+s4+h5

All these are in same row.

I want to use all these letters and numbers for calculating the wages.

S-Sick

s-Sick

H-Holiday

h-Holiday

Thanks

2016-12-31 02:31:31

Arun

HOW TO ADD on excel H8+S8+8+s4+h5

Thanks

2016-10-08 05:44:19

Willy Vanhaelen

This formula will work: =(A1/0.159)& "bbl"

It looks the same but it isn't. You used 2 times 2 apostrophes (') instead 2 quotes (").

2016-10-07 07:05:30

Paul Onomuakpose

=(A1/0.159)& ''bbl''

the result will be 43bbl on a cell

How can I go about it

2016-08-26 11:18:14

I have used ##:##;;;@ but it excel assumes it is text if I add pm or am.Ir I use h:mm AM/PM and enter 530 it assumes hours and doesn't add the colon.

I want the user to input AM or PM but not have to enter the colon.

2016-08-10 09:36:42

nagarjuna

Hai sir,This is possible in excel F33 = 101063 F34 = 30319 =((F33-F34),"Cubicmeter")

2016-03-06 06:35:28

Barry

@ Harold

Use the formula: =ROUNDUP((D8+H12+H17),0) & " MONTHS"

2016-03-05 15:05:43

Harold

And the result is 27.891424567 Month

The referenced cells are (d8,h12,h17)are sum formulas as well and are formatted as numbers with no decimals.

My questions is how can I get the result of my text formula to round up to a simple result of 28 Months

Thank you Harold

2016-01-04 14:43:16

Chris

Ahh never mind I have the solution:

=TEXT(J3, "0.000")&" ± "&TEXT(O3, "0.0000")

2016-01-04 14:04:41

Chris

Here is my cell now:

=(J3)&" ± "&(O3)

2015-12-11 16:00:56

Angel

Have a cell for the min and have a cell for the max (can use the min and max functions for this). Then have a cell set a side for the range.

A B

Data 1 34

Data 2 2

Data 3 11

Min 2

Max 34

Range =B4 &- B5

The Range would then look like 2-34

2015-10-07 12:04:26

Willy Vanhaelen

Create a custom number format and enter

'dd/mm/yyyy hh:mm:ss

in the type box

2015-10-06 15:10:15

Naga Mallikarjun

Example

current cell have 07/04/2012 13:52:09

i would like to add '07/04/2012 13:52:09

but when i add ' it is converting to another format like general

how can we maintain the date format and add this ' for all the cells in one go

2015-07-04 09:02:58

Anil

Am trying to use different numbers like this (132.08-130.01=2.07

178.556-172.321=6.235

etc...) and with same comments like(132.08-130.01=2.07 Gas usage charges for June-15.

178.556-172.321=6.235 Gas usage charges for June-15).

<<<<<Please help me anyone>>>>>>

2015-06-24 21:29:58

MS Karbagam

When I want to sum text(currency) with numbers, it does not function. How can i do it.

2015-03-23 14:41:25

nhb

Monday 0800 1200 400/100 4 hrs

Tuesday Rdo

etc

total hours 4

2015-03-11 01:29:18

Madi

where E1 contains Current date as NOW() and c5 is the date of birth. if you subtract 2 dates it will give you number of days by default so divide that by 365 you get nuimber of days with plenty of decimal places with round you can control the number of decimal places and i have used 2 .Answer will be like 45.8 Years

2015-02-19 02:06:41

Ramiz

For Example The result should be :

"Chq No. 1251 -35000.00"

I can combine number and text but the decimal is missing

2015-02-06 02:14:23

hasan

You can use Custom Formatting to achieve that. Select your cells > Right click> Format Cells> Number> Custom. Now in the Type field write (#,##) after pressing the enter button you'll notice that your value will look like 5,166,451,235. Now go to Type field again write (,) this will shed last three numbers and your number will look like this 5,166,451. Adding another (,,) will shed 6 numbers and so on. For the decimal places just write (0) in the Type field and then change it to (0.0) try adding more zeros after the decimal and you'll notice that it controls the number of decimal places you want to have. For adding colors try writing ([Red]) in the Type field. You can have more fun by using ([Green];[Red];[Black]) what this will do is all the positive numbers will be displayed in green, all the negative numbers will be displayed in red and if there's a 0 it'll be displayed in black. You can always play with the colors. Finally, here's the final thing try putting this in the Type box ([Red]#,##0,,;[Green]-#,##0,,;[Black]) I hope this answers your query. If there's anything you want to know feel free to post I'm not an excel guru but I'll sure try to help you out!

Cheers..

ps ignore the brackets!

2014-01-16 15:25:53

Nikos

How can i change the color , formating or

number of decemicals in a combination

Imagine that a cell involved in the combination is a number result from a formula i.e 5,166451235

and i want this to appear red and 5,17

Thancs in advance

Got a version of Excel that uses the
menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)?
**This site is for you!** If you
use a later version of Excel, visit
our *ExcelTips* site focusing on the ribbon interface.

**FREE SERVICE:** Get tips like this every week in *ExcelTips,* a free productivity newsletter. Enter your address and click "Subscribe."

Copyright © 2019 Sharon Parq Associates, Inc.

## Comments