Adding Commas and rounding percentages WITHIN a CONCATENATE formula?

jeffcoleky

Active Member
Joined
May 24, 2011
Messages
274
I use the following formula in a real estate settlement statement to display the real estate agent's sales commission, and what percentage that commission is of the sales price. It is calculated based upon two values in Sheet1.

Code:
=CONCATENATE("Total Sales/Broker's Commission based on price:"," ","$",'Sheet1'!C23, "     ", "@","    ",'Sheet1'!G51,"%")

C23's code just has the real estate sales price listed. Eg. 100000.
G51's code calculates the percent commission using the following formula which formula: =G47*100/C23 (G57 is the dollar amount that the agent is being paid)

My problem is that my current CONCATENATE formula will NOT:
1) Round to the nearest tenth decimal place.
2) Add a "," in the dollar amounts.

Currently, a purchase price (Sheet1!C23) of $80,000 with a commission of $1,350 (Sheet1!G51) would result in:

"Total Sales/Broker's Commission based on price: $80000 @ 1.6875%"

Instead
, I would want it to look like this:

"Total Sales/Broker's Commission based on price: $80,000 @ 1.7%"

Is this possible to do within the same formula? Or, what must I change in Sheet1 to make this happen?
 
The key is using "Text" to format:

="Total Sales/Broker's Commission based on price: "&TEXT(Sheet1!C23,"$#,###")&" @ "&TEXT(Sheet1!G51,"0.0%")

You'll want to edit your G51 formula to be:
=G47/C23
 
Last edited:
Upvote 0
Or, without changing G51
Code:
=CONCATENATE("Total Sales/Broker's Commission based on price:"," ",TEXT(Sheet1!C23,"$#,###"), "     ", "@","    ",ROUND(Sheet1!G51,1),"%")

Alternatively write it this way.
Code:
="Total Sales/Broker's Commission based on price: "&TEXT(Sheet1!C23,"$#,###")&"     @    "&ROUND(Sheet1!G51,1)&"%"
 
Last edited:
Upvote 0

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