+ Reply to Thread
Results 1 to 4 of 4

Help with Custom Formatting

  1. #1
    Registered User
    Join Date
    03-05-2011
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    84

    Help with Custom Formatting

    Hi,

    I have a cell that calculates a number and a percentage in the same cell.

    It needs to look like this. $3,500 (105%)

    It calculates using 2 separate formulas like so. <FORMULA1> & "(" & <FORMULA2> & ")"

    How do I custom format it so formula 1 shows up as a currency and formula 2 shows up as a %?

    If possible I would be able to change the color of the % from Black to red when it goes below 100% but i dont know if that is possible in formatting.

    Thanks!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Help with Custom Formatting

    =TEXT(<formula>,"$#,###.00")&" ("&TEXT(<formula2>,"#%")&")"

    I do not know of a way outside of Visual Basic programming to perform a partial text format.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Help with Custom Formatting

    And here's one possibility of what that code might be like:


    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-05-2011
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    84

    Re: Help with Custom Formatting

    Thanks for your help!

+ 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. Custom formatting issue using conditional formatting
    By wrongway15 in forum Excel General
    Replies: 2
    Last Post: 07-13-2014, 03:18 PM
  2. [SOLVED] Formatting Numarical Values with Custom Formatting
    By excelneub in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-11-2014, 04:06 PM
  3. Help with Custom Formatting
    By anjali_1212 in forum Excel General
    Replies: 3
    Last Post: 02-04-2011, 04:47 PM
  4. Replies: 1
    Last Post: 03-10-2006, 11:30 AM
  5. [SOLVED] custom formatting??
    By PattiTechWriter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2005, 06:40 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