Feb 09 2023 03:15 AM
Hi.
Can I limit the inserts of certain word in one column?
I am trying to limit inserts in certain column. For example the word "LD" can be written in each column only 5 times and not more. Similar to data validation.
Now I am using COUNTIF formula for counting, but it dosen´t prevent you to insert the word more than 5 times.
Than you for your help.
Feb 09 2023 03:21 AM - edited Feb 09 2023 03:21 AM
@bkunse See if you can replicate the example in the picture below.
The custom data validation used here is:
=COUNTIF($B$3:$B$20,"LD")<=5
Enter LD one more time in the applied range and you'll get an error message.
Feb 09 2023 03:39 AM
Feb 09 2023 03:47 AM
@bkunse Did you apply the data validation rule to the entire range of cells where you want to limit the entry of LD to max five times? Try the attached file.
Feb 09 2023 03:58 AM
Feb 09 2023 04:01 AM