Learn how to a build a cloud-first strategyRegister Now


Conditional Formatting of text in excel

Posted on 2011-05-09
Medium Priority
Last Modified: 2012-05-11
I have setup a formula:

 =IF(Codes!Q1>0, VALUE(Codes!Q1) & " Errors found", "No Error")

I want to highlight the true part [VALUE(Codes!Q1) & " Errors found"] as red and [No Error] as green once the condition is evaluated. Is that possible?.
Question by:nainil
  • 3
  • 2
LVL 85

Expert Comment

by:Rory Archibald
ID: 35721973
Yes you can use conditional formatting to change the colour based on the cell value. Which version of excel is it?

Author Comment

ID: 35722097
Excel 2007.

Expert Comment

ID: 35722416
If you have access to you tube... check this out.. this might help you to learn conditional formatting...

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35722741
I know how to use conditional formatting.  However, I am unable to achieve the formatting for text. It is primarily working correctly for numbers only.
LVL 85

Accepted Solution

Rory Archibald earned 400 total points
ID: 35723308
Home tab- Conditional formatting, highlight cells rules, Equal To..., enter "No error" without quotes, then click the dropdown, choose Custom Format and choose the formatting you want, then OK out of the dialogs.
Now simply set the default formatting for the cell to Red font so that all other values show as Red.

Author Closing Comment

ID: 35723342
I knew i was missing a small step.
Appreciate your help.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question