+ Reply to Thread
Results 1 to 7 of 7

How to Auto-Color the cell/text with conditions in the formula?

  1. #1
    Registered User
    Join Date
    09-20-2015
    Location
    Riyadh, KSA
    MS-Off Ver
    2010
    Posts
    11

    Question How to Auto-Color the cell/text with conditions in the formula?

    SAMPLE 001.xlsx0001.jpg

    Hello Everyone! I hope everyone is doing great!

    Please help. In my sample sheet attached,
    Is their any possible formula to auto-color the cell or text when the item is a fruit (RED Color) and if vegetable (GREEN Color)?
    and if the "Quantity on Hand" of the item is below 30 boxes, the number would be auto-color in RED?

    Thank you for your BIG Help!

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: How to Auto-Color the cell/text with conditions in the formula?

    sounds like you are after conditional formatting
    see attached file with the conditions you specified

    applied 3 rules
    #1 Cell value = "Fruit" to range(=$B$2:$B$23)
    #2 Cell value = "Vegetable" to range(=$B$2:$B$23)
    #3 cell value <30 to range(=$C$2:$C$23)

    some more reading on what it is and how it works can be found here
    http://www.contextures.com/xlCondFormat01.html
    and
    http://www.excel-easy.com/data-analy...ormatting.html
    Attached Files Attached Files
    Last edited by humdingaling; 09-29-2015 at 03:24 AM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: How to Auto-Color the cell/text with conditions in the formula?

    Please refer the attached sheet.

    Regards
    Shareez
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-20-2015
    Location
    Riyadh, KSA
    MS-Off Ver
    2010
    Posts
    11

    Re: How to Auto-Color the cell/text with conditions in the formula?

    hahaha. i'm laughing at myself now because i never expected my problem is that easy)

    Thanks for your Help HUMDINGALING! You just made my day easy

  5. #5
    Registered User
    Join Date
    09-20-2015
    Location
    Riyadh, KSA
    MS-Off Ver
    2010
    Posts
    11

    Re: How to Auto-Color the cell/text with conditions in the formula?

    Thank you so much SHAREEZ!!!

  6. #6
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: How to Auto-Color the cell/text with conditions in the formula?

    Please close this Thread as Resolved.

  7. #7
    Registered User
    Join Date
    09-20-2015
    Location
    Riyadh, KSA
    MS-Off Ver
    2010
    Posts
    11

    Re: How to Auto-Color the cell/text with conditions in the formula?

    how to mark this thread as [SOLVED]? sorry im lost

+ 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: 4
    Last Post: 12-29-2013, 11:41 PM
  2. [SOLVED] Changing Cells & Text Color When Formula Meets Certain Conditions
    By VICTOR55 in forum Excel General
    Replies: 3
    Last Post: 12-02-2013, 02:43 AM
  3. How do i auto fill cell color based on other cells' color?
    By Kchatza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2012, 05:00 AM
  4. Provide text and or color from conditions
    By ufomongo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2012, 12:19 PM
  5. Replies: 1
    Last Post: 01-24-2012, 11:15 AM
  6. Replies: 3
    Last Post: 03-23-2010, 06:50 PM
  7. Change color of text if conditions are met.
    By tnielsen91 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2007, 11:35 AM
  8. Formula that will test text conditions in a single cell
    By Prohock in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-04-2006, 05:25 PM

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