Forum Discussion
Traci Cavalleri
Jul 31, 2018Copper Contributor
Data Validation Error Message
I'm looking for the correct formula to put into the data validation for the following scenario: If cell F6 indicates "No" and cell G6 is blank, I want an error message to pop up saying that an en...
Detlef_Lewin
Jul 31, 2018Silver Contributor
Traci,
that will not work. Data validation is only for checking data that is put in a cell. You can't check for an input that isn't made.
However you can use a helper cell and display the message there.
=IF(AND(F6="No",G6=""),"Input in G6 is required.","")
Traci Cavalleri
Jul 31, 2018Copper Contributor
Thank you for the response. However, when I put that formula in for cell G6, I get the attached error message.
- Detlef_LewinJul 31, 2018Silver Contributor
I edited my reply.
- Traci CavalleriJul 31, 2018Copper Contributor
I now get this message.
- Detlef_LewinAug 01, 2018Silver Contributor
As I wrote, you need a helper cell. Meaning that you can't put the formula in F6 or G6 which results in a circular reference error.