concatenate and text formula

Posted on 2014-09-01
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%")
Question by:route217
    LVL 80

    Assisted Solution

    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%"))
    LVL 80

    Accepted Solution

    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%")

    Author Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    I've recently been in need of an Excel macro that could add a letter before the text on multiple cells in an Excel document. My English is as it is, so I will try explain what it does diffrently. If you have an excel document with 2000 rows an…
    What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
    The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now