• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data validation is always giving error

Junarkar

Member
Hi

I have used data validation in cell D54 with the below formula to trigger an error message;

1-C54<>D54

Value in C54 - 70%
Value in D54 - 30%

The purpose is that user will not enter a value which makes the sum of C54+D54 > or < 100%.

Now it will trigger the error message even if I try to enter correct value. I thought the error message should come only if the formula is true.

Can some one explain whats's wrong.

Thanks
 
Try the Data Validation formula :
=C54+D54=1

You will need to enter values as either 30% or 0.3
30 will be treated as a Number
 
Try the Data Validation formula :
=C54+D54=1

You will need to enter values as either 30% or 0.3
30 will be treated as a Number

Thanks a lot for the replay Hui. I tried it, but still it trigger the error message irrespective of the value I enter.

Please find the sample file attached. Help me to find out where I did mistake.


Thanks
 

Attachments

  • Sample.xlsx
    10.5 KB · Views: 1
Select B3:E3
goto Data, Data Validation
upload_2018-11-10_15-48-49.png

Repeat for C4:E4 and D5:E5
adjust ranges in DV to suit

Note: This data is nothing like the question you asked and hence you have delayed the answer by giving us the wrong information.
This wastes our time, where we could be helping somebody else, as well as delaying your answer.
 
Select B3:E3
goto Data, Data Validation
View attachment 56401

Repeat for C4:E4 and D5:E5
adjust ranges in DV to suit

Note: This data is nothing like the question you asked and hence you have delayed the answer by giving us the wrong information.
This wastes our time, where we could be helping somebody else, as well as delaying your answer.
Thanks a lot Hui.

I appologise the mistake in communicating my problem properly.
As you rightly said it will affect other members also.
Will keep this in mind next time on wards.

Thanks
 
Back
Top