Hi all
This has had me stumped for a while.
I have cell M2 containing this formula in it
=COUNTIFS(Indicator_Name,A2,Entry_Date,DATE(YEAR(C2),MONTH(C2),1),Facility,E2,Unit_Group,G2)
If I set a custom validation on cell L2 to this
=M2<=1
If a user trys to enter a value in L2 greater than 1 it will prompt an error. This works.
My question is:
Why cant I put this in the custom validation formula
=COUNTIFS(Indicator_Name,A2,Entry_Date,DATE(YEAR(C2),MONTH(C2),1),Facility,E2,Unit_Group,G2)<=1
This has had me stumped for a while.
I have cell M2 containing this formula in it
=COUNTIFS(Indicator_Name,A2,Entry_Date,DATE(YEAR(C2),MONTH(C2),1),Facility,E2,Unit_Group,G2)
If I set a custom validation on cell L2 to this
=M2<=1
If a user trys to enter a value in L2 greater than 1 it will prompt an error. This works.
My question is:
Why cant I put this in the custom validation formula
=COUNTIFS(Indicator_Name,A2,Entry_Date,DATE(YEAR(C2),MONTH(C2),1),Facility,E2,Unit_Group,G2)<=1