format within concatenation

tmanger

Board Regular
Joined
Jul 15, 2002
Messages
101
I am concatenating a number of cells, including text and numbers. I have the original number displayed as a fraction e.g. 1 1/3. When I concatenate this, the result is 1.333333333333.

I have tried reformating the original cell, without luck. Is there any way to control this aspect of the concatenation?

Thanks in advance.

Tom.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
Use:

TEXT(A1,"# ?/?")

when concatenating A1 with other cells like in

=TEXT(A1,"# ?/?")&" "&B1
 

Tom@CPC

Board Regular
Joined
May 22, 2002
Messages
209
Tom

Try this...

=TEXT(+C3,"0.00")&" "&+D3

where C3 holds your fraction. This will convert your value into text and the "0.00" will determine how it is displayed. The more 0's after the decimal, the more positions that will show.

HTH,
Tom
 

Tom@CPC

Board Regular
Joined
May 22, 2002
Messages
209
OOPPSS Sorry Tom,

I worked on both of them and then posted the wrong reply. Good thing Aladdin is on the ball!!!

T
 

Forum statistics

Threads
1,147,514
Messages
5,741,604
Members
423,672
Latest member
ajj13

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top