Highlight cell if another cell contains specific text
Abbi
-
Jun 10, 2022 at 05:31 PM
vcoolio Posts 1371 Registration date Thursday July 24, 2014 Status Moderator Last seen April 12, 2023 - Jun 10, 2022 at 08:21 PM
vcoolio Posts 1371 Registration date Thursday July 24, 2014 Status Moderator Last seen April 12, 2023 - Jun 10, 2022 at 08:21 PM
Related:
- Excel conditional formatting if another cell contains specific text
- Excel conditional formatting if cell contains specific text - Best answers
- Highlight cell if another cell contains text - Best answers
- How to use conditional format based on text? ✓ - Excel Forum
- Highlight cell if another cell contains any text ✓ - Excel Forum
- Conditional format based on another cell containing text - Excel Forum
- If cell contains (multiple text criteria) then return (corresponding text criteria) ✓ - Excel Forum
- Excel date format dd.mm.yyyy - Guide
1 reply
vcoolio
Posts
1371
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
April 12, 2023
252
Jun 10, 2022 at 08:21 PM
Jun 10, 2022 at 08:21 PM
Hello Abbi,
You could simply use Conditional Formatting to do the task for you:-
- Select cell C6 and go to the Home tab then go to the Styles group and select Conditional Formatting.
- Select New Rule.
- The 'New Formatting Rule' dialogue box will appear.
- Select 'Use a formula to determine which cells to format".
- In the text box under the heading 'Format values where this formula is true', type in the following formula:
=N6="Yes"
- Click OK on the 'Format' button. A Format Cells dialogue box will appear.
- Select the shade of green that you would like to use. Click OK.
- The 'New Formatting Rule' dialogue box should still be there. Click OK on this box as well.
The cell formatting for C6 should now be set to green when N6 says "Yes".
Repeat the above steps for the "No" and "n/a" criteria.
Cell C6 should be clear of any formatting if anything other than the required three criteria is used.
I hope that this helps.
Cheerio,
vcoolio.
You could simply use Conditional Formatting to do the task for you:-
- Select cell C6 and go to the Home tab then go to the Styles group and select Conditional Formatting.
- Select New Rule.
- The 'New Formatting Rule' dialogue box will appear.
- Select 'Use a formula to determine which cells to format".
- In the text box under the heading 'Format values where this formula is true', type in the following formula:
=N6="Yes"
- Click OK on the 'Format' button. A Format Cells dialogue box will appear.
- Select the shade of green that you would like to use. Click OK.
- The 'New Formatting Rule' dialogue box should still be there. Click OK on this box as well.
The cell formatting for C6 should now be set to green when N6 says "Yes".
Repeat the above steps for the "No" and "n/a" criteria.
Cell C6 should be clear of any formatting if anything other than the required three criteria is used.
I hope that this helps.
Cheerio,
vcoolio.