how to prevent entering data with condition

IsaIsa

New Member
Joined
Oct 3, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a sheet for evaluating work, where the evaluation is in the "D" column through a descending list (0,1,2, NA), it was required to add a comment in the adjacent cell in column "E" in case of entering any value except "2". How can I control that through formulas not VB. attachment is a part of the sheet. Thank you in advance.
ABCD.xlsx
D
2
ABCD
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2Cell Valuecontains "NA"textNO
D2Cell Value=2textNO
D2Cell Value=1textNO
D2Cell Value=0textYES
Cells with Data Validation
CellAllowCriteria
D1Custom=E1*#REF!+#REF!*#REF!+#REF!*#REF!
D2:D7List0,1,2,NA
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I am unsure exactly how you mean to control it, but I imagine some more data validation could work. Can you explain exactly what you want to do step by step?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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