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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,344
Office Version
  1. 365
Platform
  1. Windows
Try this.

="The sum of A1 and B1 is "&TEXT(A1+B1, "0,000")
 

shades

Well-known Member
Joined
Mar 20, 2002
Messages
1,550
One possibility, but I'm sure there are better.

="The content of B3 is "&TEXT(B3,"00,000")
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,545
Messages
5,838,008
Members
430,526
Latest member
NiceGuyWithExcel2007

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