Highlight cell if another cell contains specific text
Closed
Abbi
-
Jun 10, 2022 at 05:31 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Jun 10, 2022 at 08:21 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Jun 10, 2022 at 08:21 PM
Related:
- Conditional formatting if cell contains text
- Excel conditional formatting if cell contains specific text - Best answers
- Highlight cell if another cell contains text - Best answers
- Excel conditional formatting if another cell contains specific text ✓ - Excel Forum
- Count if cell contains number - Excel Forum
- If a cell has text then return value ✓ - Excel Forum
- If cell contains date then return value ✓ - Office Software Forum
- Clear only the formatting from the selected cell (leaving the content) - Guide
1 response
vcoolio
Posts
1411
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
September 6, 2024
262
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.