custom data validation

Alwinaz

Board Regular
Joined
Feb 7, 2012
Messages
201
Hi there

I am trying to setup a sheet where you are only allowed to have a certain entry once a day. I want the data valadation to stop the user if they try to enter the value again for the day

What i have done so far is that i have highlighted column B where you enter the values. In column AQ i have a countif formula that count the data as you enter it. The data validation that i require is once the value in column AQ is more than one, then an error message must pop-up that stop the user and say " You can only enter the claim number once a day"

I have tried this formula in the custom validation but it does not work =COUNTIFS($B$4:$B$5000,"="&B4,$AO$4:$AO$5000,"="&AO4)<2

Any ideas where i am going wrong?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
oeps :oops: i no where i went wrong. Formul should be =COUNTIFS($B$4:$B$5000,"="&B4,$AO$4:$AO$5000,"="&AO4)=1
 
Upvote 0

Forum statistics

Threads
1,216,151
Messages
6,129,162
Members
449,489
Latest member
spvclub

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top