warning validation

Muhammad Asif 121 Reputation points
2022-10-22T12:13:19.26+00:00

in google Sheets when the user enters data in Cell B1 and Cell A1 is remain empty then it restricts the user to move next to Cell C1 until they enter Data in Cell A1 and gives a warning message to enter data in Cell A1.

Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,857 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 19,131 Reputation points Microsoft Vendor
    2022-10-24T03:25:15.147+00:00

    Hi @Muhammad Asif ,
    In Excel you can try this method, select the Range you want to create the Data Validation- from Allow list select Custom and enter the formula:

    =COUNTIF(A1:B1,"")=0  
    

    253376-image.png

    253401-image.png

    Hope it's helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful