gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
In my excel sheet I have two column ranges AA3:AA18 and AB3:AB18. Users must not be able…
- User
In my excel sheet I have two column ranges AA3:AA18 and AB3:AB18. Users must not be able to change the value in AB3:AB18 unless there is a value in the same row of AA3:AA18. What is the simplest way of achieving this
- Assistant
The simplest way to achieve this is by using Excel's data validation feature.
Follow these steps:
- Select the range AB3:AB18.
- Go to the Data tab in the Excel ribbon.
- Click on Data Validation in the Data Tools group.
- In the Data Validation dialog box, choose the Allow: "Custom" option from the drop-down menu.
- In the Formula input box, enter the following formula: =AND(AA3:AA18<>"",AB3:AB18="")
- Click on the Error Alert tab (optional) to customize the error message that will appear when users try to change a cell without a value in AA3:AA18.
- Click OK.
Now, users will only be able to change the value in AB3:AB18 if there is a value in the same row in the AA3:AA18 range.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.