![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 1
|
I would like to display duplicate entries (which are allowed)in a column in red. I've tried this in conditional formatting (Formula Is)using the EXACT function to compare one cell against a range, but can't get it to work properly. I've applied the following to all cells in the column:
=EXACT(A3,$A$1:A2) Is what I want to do possible? Thank You |
|
|
|
|
|
#2 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
Conditional formatting sounds good. But your use of EXACT is wrong. Instead of comparing a cell to a formula in conditional formatting, try selecting cells A1 and A2, goto Format|Conditional formatting|Cell value is|equal to|=$A$3
This will compare cells Al and A2 to cell A3. Hope this helps. Kind regards, Al. |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
Activate Format|Conditional Formatting. Choose 'Formula Is' for Condition 1. Enter in the formula box: =COUNTIF($A$1:$A$100,A1)>1 Activate Format. Choose red either on Font or Patterns tab. Click OK, OK. |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
=countif($1$100,a1)>1
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|