datacarpentry / spreadsheets-socialsci

Data Organization in Spreadsheets for Social Scientists
http://datacarpentry.github.io/spreadsheets-socialsci/
Other
21 stars 68 forks source link

Identifying cells that break data validation rules #92

Closed angela-li closed 1 month ago

angela-li commented 5 years ago

The current quality assurance section states that "data validation rules are not applied retroactively to data that is already present in the cell".

However, in Excel, it's possible to highlight sections of your data that don't meet the data validation rules by clicking the drop-down next to "Data Validation" in Excel and selecting "Circle Invalid Data".

Screen Shot 2019-07-23 at 3 02 50 PM

Showing learners how to find and locate incorrectly-validated data would be a good addition to the curriculum.

jacquelyneneal commented 4 years ago

It looks like Google Sheets has a similar functionality with its validation rules (not sure if this is a recommended program or not). Testing it out, the cell will be flagged with a warning if data validation rules are applied after entry. image

I have been testing out LibreOffice to see if it will flag already entered values if validation is added later, but I am not currently having success there. This could be good information to mention while showing learners how to validate their data after its been entered.

chris-prener commented 4 years ago

One of the challenges with this lesson in particular is that (a) the different spreadsheet apps have slightly different functionality and (b) they continue to evolve. We aren't necessarily consistent in directing folks to particular apps, but I'd like to get there. Thanks for the info @angela-li and @jacquelyneneal!

kekoziar commented 4 years ago

Also, the same section states that "Instead, if a particular cell would fail the validation check a triangle is placed in the top left corner of the cell as a warning." which is incorrect.

josenino95 commented 1 month ago

This issue was closed as part of PR #197. The option to circle invalid data has been described for Excel and Calc