Dec 05 2022 11:42 AM
I understand there's a formula you can write down manually in a single cell of a column and then drag down, to avoid repeated data values in excel with the "=COUNT.SI(XXXXXX)=1" but i forgot how to do it correctly. I know there's a function in Data menu > Data validation, but the rank i will use is the WHOLE COLUMN, not just a short rank. That is why I want to manually write the formula down in the second cell (my chart has headers) and then drag the formula down, as my chart fills up. Can anyone can help me, please?
Dec 05 2022 11:54 AM
Are you referring to using this formula:
=IF(COUNTIF($A$1:A1,A1)=1,COUNTIF($A$1:A1,A1),"")
To do this?
Dec 07 2022 08:31 AM
Hello @Patrick2788! No, that formula is to count items. I'm looking for the avoid repeating data formula when you are filling up a database. Something like this, see column B, please...
the name of the client will repeat, but the code of the item in column B must not
Dec 07 2022 08:52 AM
SolutionThe screenshot is a bit blurry, but I believe I understand your request. Please see attached workbook.
Dec 07 2022 09:39 AM
Dec 07 2022 10:58 AM
Jan 04 2023 07:26 AM
@Patrick2788 can you help me make it please? I've tried and tried and i cannot doing it alone :'(
Jan 04 2023 09:22 AM
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.