+ Reply to Thread
Results 1 to 5 of 5

how to display $ and % with/within text

  1. #1
    Registered User
    Join Date
    06-12-2015
    Location
    Madison WI
    MS-Off Ver
    2010
    Posts
    52

    how to display $ and % with/within text

    Here is the formula I'm using: ="Pay "&N12&" for "&O12

    Column N is $
    Column O is %

    the current output is: Pay 4800000. for 0.35

    im trying to achieve: Pay $4,800,000 for 35%

    help?

    Thank you in advance!

  2. #2
    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,926

    Re: how to display $ and % with/within text

    Try this (adjust refs, obviously)...
    =TEXT(N9,"$0,000,000")&" and "&TEXT(O9,"0.00")
    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

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: how to display $ and % with/within text

    ="Pay "&TEXT(N12,"$#.00")&" for "&TEXT(O12,"0.00%")
    Quang PT

  4. #4
    Registered User
    Join Date
    06-12-2015
    Location
    Madison WI
    MS-Off Ver
    2010
    Posts
    52

    Re: how to display $ and % with/within text

    Thank you! That worked!

  5. #5
    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,926

    Re: how to display $ and % with/within text

    Quote Originally Posted by bebo021999 View Post
    ="Pay "&TEXT(N12,"$#.00")&" for "&TEXT(O12,"0.00%")
    Thanks for that, I was neve really good at number/text formatting

+ 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. Replies: 3
    Last Post: 10-01-2019, 01:21 AM
  2. [SOLVED] MsgBox Text Display Problem: display text is truncated
    By slbrick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2018, 04:02 PM
  3. [SOLVED] Display occurrences of text and then display it on search page
    By murray83 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-14-2017, 05:21 AM
  4. Replies: 9
    Last Post: 11-08-2015, 08:04 PM
  5. Compare two excel and mismatch text should be display in red color and match text in green
    By aadityapatel1984 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2014, 04:22 PM
  6. Replies: 11
    Last Post: 11-03-2013, 09:16 PM
  7. Replies: 7
    Last Post: 09-03-2013, 04:43 PM

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