Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

concatenate and text formula

Posted on 2014-09-01
3
Medium Priority
?
193 Views
Last Modified: 2014-09-01
Hi Experts excel 2007

I am trying to concatenate the following whlist also using the text function cannot see the error here...

=concatenate (text (sum (a1, a2, a3),"#,##")&" | "&text (sum (b2/b5)*100),"0%")
0
Comment
Question by:route217
  • 2
3 Comments
 
LVL 81

Assisted Solution

by:byundt
byundt earned 2000 total points
ID: 40297744
Your parentheses were in the wrong place in the second TEXT function. Try it like this:
=CONCATENATE(TEXT(SUM(A1,A2,A3),"#,##")&" | "&TEXT(SUM(B2/B5)*100,"0%"))

I also question whether you should be multiplying B2/B5 by 100 if you want the result to be displayed as %. You probably meant to write it like:
=CONCATENATE(TEXT(SUM(A1,A2,A3),"#,##")&" | "&TEXT(B2/B5,"0%"))

Note that I omitted the SUM in the second TEXT because there was only one value being converted. If the / was a typo and you meant to sum, then the formula would be:
=CONCATENATE(TEXT(SUM(A1,A2,A3),"#,##")&" | "&TEXT(SUM(B2:B5),"0%"))
0
 
LVL 81

Accepted Solution

by:
byundt earned 2000 total points
ID: 40297745
You can also get rid of the CONCATENATE function, as you have already performed the concatenation using the & operator:
=TEXT(SUM(A1,A2,A3),"#,##") &" | " & TEXT(SUM(B2/B5),"0%")

And you can even bring the pipe symbol inside one of the TEXT functions as:
=TEXT(SUM(A1,A2,A3),"#,## | ") & TEXT(SUM(B2/B5),"0%")
0
 

Author Comment

by:route217
ID: 40297755
Excellent. ..feedback.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question