If dates are the only thing being entered, the Data Validation I provided will work.Thanks Peter. I really need this to work for Dates as that is the only data that will be inputted in these ranges.
In that case, in the Data validation dialog, go to the 'Error Alert' tab, change the Style to 'Warning' and (if you want) enter some Error message text like "This exceeds the 12 limit". The user will then get a warning if they enter a date more than 12 times but will have the option of using that date anyway.I want it just to be a warning and allow user if they want to continue Yes or No, if Yes then apply date if no than end
If dates are the only thing being entered, the Data Validation I provided will work.
In that case, in the Data validation dialog, go to the 'Error Alert' tab, change the Style to 'Warning' and (if you want) enter some Error message text like "This exceeds the 12 limit". The user will then get a warning if they enter a date more than 12 times but will have the option of using that date anyway.
=COUNTIF($U$2:$AS$1000,[COLOR=#ff0000]M1048562[/COLOR])+COUNTIF($AW$2:$BF$1000,[COLOR=#ff0000]M1048562[/COLOR])<=12
here is what happened in the new Workbook. Still takes a long time to Process the calculation. The first time I exceeded the 12 of the same date it gave me the Msg after that i was able to delete the date and retype it in and no message on the 13th time and the 14th time
Yes, you have implemented in a different way to what I described. My description was to apply the given DV to U2 then copy to the rest of the range.Tell me if im doing this wrong Peter. I select the 2 ranges and click on Data Validation/ allow= Custom / formula =COUNTIF($U$2:$AS$1000,U2)+COUNTIF($AW$2:$BF$1000,U2)<=12
Further to Dant'e comment...Just comment if you have 12 cells with the same date and copies one of those cells within the range, you will not see the warning.