Combining content from two cells and specifying format

idaceo

New Member
Joined
Nov 16, 2005
Messages
4
I am trying to cobine the numerical content of two cells (e.g. A1=33,000, B1=33,756) and display the sum of the two cells in a sentence. I have placed the following formula in A3; ="The sum of A1 and B1 is "&A1+B1

The output displayed is "The sum of A1 and B1 is 66756

How do I get the 66756 to use a comma so it diplays 66,756.

Also, on larger combinations the output, when inside a sentence, sometimes displays up to eight places after the decimal point (e.g. 66756.468284499.

Any thoughts...
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try this.

="The sum of A1 and B1 is "&TEXT(A1+B1, "0,000")
 
Upvote 0
One possibility, but I'm sure there are better.

="The content of B3 is "&TEXT(B3,"00,000")
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,780
Members
449,049
Latest member
greyangel23

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
Back
Top