Excel Formula for if two separate columns contain certain data

LyndaPM

New Member
Joined
Sep 21, 2022
Messages
3
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I have a very large spreadsheet over 25000 rows and want to highlight rows if Column D contains NONAMEPLATE and column X contains the number 2012 in it. Can't figure it out for the lifew of me.
 

Attachments

  • Sample.png
    Sample.png
    42.7 KB · Views: 7

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Try:
Book1 (version 2).xlsb
DX
1NONAMEPLATESomething 2012
2NONAMEPLATESomething 2013
3NONAMEPLATESomething 2014
4NOT ED-2012-024
5NONAMEPLATEED-2012-024
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D1:X5Expression=($D1="NONAMEPLATE")*(ISNUMBER(SEARCH("2012",$X1)))textNO
 
Upvote 0
Solution
Try:
Book1 (version 2).xlsb
DX
1NONAMEPLATESomething 2012
2NONAMEPLATESomething 2013
3NONAMEPLATESomething 2014
4NOT ED-2012-024
5NONAMEPLATEED-2012-024
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D1:X5Expression=($D1="NONAMEPLATE")*(ISNUMBER(SEARCH("2012",$X1)))textNO
Worked beautifully thank you so much
 
Upvote 0

Forum statistics

Threads
1,223,965
Messages
6,175,660
Members
452,666
Latest member
AllexDee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top