+ Reply to Thread
Results 1 to 4 of 4

Concat with Percentage

  1. #1
    Registered User
    Join Date
    02-27-2023
    Location
    Hicksville, New York
    MS-Off Ver
    2212
    Posts
    2

    Concat with Percentage

    Hello - I have an existing concat function like below:

    =CONCAT(SUM(X6,X14), " (", ROUND(SUM(X6,X14)/SUM(W6,W14),2)*100,"%)")

    Firstly, I want to understand what the above formula is doing.

    Secondly, I want to achieve with only X6 and W6.. meaning i do not want to SUM with X14 and W14. How do I achieve this?

    This is a bit urgent request. Hope someone helps me in time.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,060

    Re: Concat with Percentage

    Simply remove X14 and W14 from the formula and since there is only 1 cell, SUM() is redundant. So, =CONCAT(X6, " (", ROUND(X6/W6,2)*100,"%)")

  3. #3
    Registered User
    Join Date
    02-27-2023
    Location
    Hicksville, New York
    MS-Off Ver
    2212
    Posts
    2

    Re: Concat with Percentage

    Thank you. It worked.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Concat with Percentage

    You could also just drop the CONCAT completely.....
    =X6&" (" & ROUND(X6/W6,2)*100&"%)"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Concat big data
    By Gulya in forum Excel General
    Replies: 21
    Last Post: 10-05-2022, 12:30 AM
  2. Concat if?
    By stinebiz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2021, 04:23 PM
  3. Alternatives to concat
    By acamposla in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2021, 09:06 AM
  4. [SOLVED] extract last 3 numbers from each concat. value in col. B and add to col. A concat cells
    By therealdees in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-17-2021, 11:02 AM
  5. [SOLVED] How to use VBA to put spaces in Concat
    By PumSese in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2020, 07:50 AM
  6. Concat help
    By fluters1243 in forum Excel General
    Replies: 10
    Last Post: 06-30-2017, 11:14 AM
  7. [SOLVED] Concat help
    By anuraag205 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2013, 02:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1