Highlight duplicate values in two ranges combined using conditional formatting in excel
Question: How do I highlight duplicate values in two ranges combined?
Answer:
Range 1, A1:D4, named tbl
Range 2, A6:D9, named tbl1
Conditional formatting formula in A1:D4:
Conditional formatting formula in A6:D9:
Named ranges
tbl (A1:D4)
tbl1 (A6:D9)
What is named ranges?
Download excel example file.
highlight-duplicate-values-in-two-ranges-combined.xls
(Excel 97-2003 Workbook *.xls)
Functions in this article
IF(logical_test,[value_if:true],[value_if_false])
Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE
ROW(reference)
returns the row number of a reference
COUNTIF(range,criteria)
Counts the number of cells within a range that meet the given condition
INDEX(array,row_num,[column_num])
Returns a value or reference of the cell at the intersection of a particular row and column, in a given range
MAX(number1,[number2],)
Returns the largest value in a set of values. Ignores logical values and text.
MATCH(lookup_value;lookup_array; [match_type]
Returns the relative position of an item in an array that matches a specified value
COLUMN(reference) Returns the column number of a reference
MIN(number1,[number2])
Returns the smallest number in a set of values. Ignores logical values and text
Related blog posts
- Highlight unique distinct values in two ranges combined using conditional formatting in excel
- Highlight duplicate values in a range using conditional formatting in excel
- Highlight smallest duplicate value in a column using conditional formatting in excel
- Highlight unique values and unique distinct values in a range using conditional formatting in excel
- Highlight common values in two lists using conditional formatting in excel







Leave a Reply