Forum Discussion
avoid to repeated data values in excel formula
- Dec 07, 2022
The screenshot is a bit blurry, but I believe I understand your request. Please see attached workbook.
The screenshot is a bit blurry, but I believe I understand your request. Please see attached workbook.
- Patrick2788Dec 07, 2022Silver ContributorThe conditional formatting is using a formula to determine if the ID counted in a given cell is the first instance encountered. If it's not instance 1, the conditional formatting applies custom format ;;; which is a way of saying don't show cell contents.
- DifferentMink01Jan 04, 2023Copper Contributor
Patrick2788 can you help me make it please? I've tried and tried and i cannot doing it alone :'(
- Patrick2788Jan 04, 2023Silver Contributor
I may have to see the workbook but using this sample for discussion:
There are 3 things critical to getting this to work.
1. Select the entire range that will be affected by the conditional formatting. Do not include the header.
2. The correct referencing styles for the COUNTIF as seen above.
3. Starting the formula at the correct row number. Typically, if the header begins in row 2, the formula must start at row 2. Note how the formula only references row 2. If your selection is correct and the referencing styles are tight, Excel will apply the rule correctly to the entire selection.