+ Reply to Thread
Results 1 to 6 of 6

if formula (probably simple)

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    adelaide
    MS-Off Ver
    Excel 2003
    Posts
    86

    if formula (probably simple)

    i need a formula (which im sure is simple)

    something like if a1 is between 0% and 29% then "red" if between 30% and 59% if between 60 and 100% then "green"

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: if formula (probably simple)

    Hi

    You don't say which cell the result is a percentage of so I've said B1. Also you've omitted a colour for 30-59 so I've made it yellow.

    Using formula to determine which cells to format try these.

    Make sure they appear in your conditional formatting rules manager box in this order

    =$A$1>B1*59% - Green

    =$A$1>=B1*30% - Yellow

    =$A$1<B1*30% - Red
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: if formula (probably simple)

    Try this conditional format
    Please Login or Register  to view this content.
    then format your colour then add
    Please Login or Register  to view this content.
    then format your colour then add
    Please Login or Register  to view this content.
    then format your colour

  4. #4
    Registered User
    Join Date
    07-01-2010
    Location
    adelaide
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: if formula (probably simple)

    sorry to confuse you but this is not for conditional formatting..

    i want the word to appear.

    the percentage will show in say c45

    i want to have formula that based on c45 it will show that colour in text

  5. #5
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: if formula (probably simple)

    =$A$1>C45*59% - Green

    =$A$1>=C45*30% - Yellow

    =$A$1<C45*30% - Red

    Simply substitute the cell references and instead of selecting "Fill" go for colour of font

  6. #6
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: if formula (probably simple)

    try this

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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