data validation

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Data validation

Data validation

resolvedResolved · Low Priority · Version 2003

Aurelie has attended:
Excel Advanced course

Data validation

How do we lock the list of validation so no one can change it if they know how to set it up?

RE: data validation

Hello Aurelie

Thank you for your question and welcome to the forum.

This is a trickier problem than I initally thought. The problem is that if you create a dropdown list using data validation and then you apply protection to the spreadsheet, a person who is using the spreadsheet is unable to then select items from the dropdown list.

It seems that the only way to get around stopping people from pasting into cells with data validation whilst still allowing them to use a dropdown list, is to write VBA code to prevent people from pasting into cells that have data validation applied :(

Kind regards
Amanda

RE: data validation

Hi Amanda,

Thank you for the below. I was sure that we could protect only the source though?

I had an other question, initially I had set up my source on the same sheet but it is not suitable anymore as the source is affected when I sort my rows/columns etc.

I wanted to create the source then on a different sheet and link it to the first one but it doesn't let me! How can I select the source from an other sheet if I want to select a table and not write the wole date in the source cell in the data validation window?

Hope my question makes sense.

Thank you
Aurelie

RE: data validation

Hello Aurelie

Thank you for your question.

Yes, you can set protection on the source of your data (Tools - Protection - Protect Sheet).

To use a source from another sheet, you will need to give a name to the source cells (e.g. give the name list to the cells), then when you set up the validation in the Source box type in =list.

If you're not sure how to name a range of cells, let me know or look up in Excel Help :)


Kind regards
Amanda


 

Excel tip:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

View all Excel hints and tips


Server loaded in 0.09 secs.