Conditional formatting based on two criteria but only when on the same row

Detectiveclem

Active Member
Joined
May 31, 2014
Messages
277
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Can anyone assist me with the correct formula to use in Conditional Formatting?

Column B starting at B2 is either blank or has reference numbers which have both text and numbers just text (Eg ABC12345-09-10) and (Not in use).

Column U starting at U2 is also either blank or also has text and numbers.



What I am trying to establish is where there is an exact MATCH between the cell in Column B with that in Column U on the same row I want to use conditional formatting to highlight this but only if it’s on the same row.

If either or both cells in Columns B or U are blank, I want the blank cells to remain blank.



Any help greatly appreciated
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
58,256
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=AND(B2<>"",B2=U2)
 
Solution

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
58,256
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Glad we could help & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,132,982
Messages
5,656,222
Members
418,290
Latest member
ArrArkRE

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
Top