+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting less than 0.05 add *

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Danmark
    MS-Off Ver
    Excel 2010
    Posts
    10

    Conditional formatting less than 0.05 add *

    Dear Excelforum,

    Does anyone know how to make excel to add * if a cell contains a value that is less than 0.05?

    See my example below where column A is the values and B is where the formula should give the following output:

    A B
    0.04 0.04*
    0.07 0.07

    Thanks in advance for helping out!

    Frans

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Conditional formatting less than 0.05 add *

    =if(a1<0.05,a1&"*",a1)
    or
    =A1&IF(A1<0.05,"*","")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Conditional formatting less than 0.05 add *

    Write in next cell:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And allign it to the left

  4. #4
    Registered User
    Join Date
    07-10-2013
    Location
    Danmark
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Conditional formatting less than 0.05 add *

    Thanks mate, made my day!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Conditional formatting less than 0.05 add *

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Conditional Formatting via VBA: Change formatting in range based on value of each cell
    By ralphjmedia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 10:37 AM
  2. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  3. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  4. Macro for formatting fonts and cell colours - not Conditional Formatting
    By Kayaness in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2011, 03:46 AM
  5. Replies: 2
    Last Post: 11-02-2007, 12:03 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