cat / 012
clone

a spreadsheet for the terminal: lotus 1-2-3 looks, google sheets keys and formulas, one go binary

Docs: rules' moves with cut and paste in their own section, what validation checks as a list; themes link the cues rather than list them

Dami committed c42ecf3
commit
c42ecf323d6c691fd11ee4c3b0e767589a5ba799
parent
b81dc557edebf10fc8c7c9e9f4fa7114115ebe90
author
Dami <dami.etoile@gmail.com>
kind
docs risk score 0.0 of 3, Jev's estimate
2 files changed, +31 -25
Mdocs/sheets/rules.md51+++++++++++++++++-------------
Mdocs/terminal/themes.md5+--
M docs/sheets/rules.md +29 -22
@@ -53,16 +53,6 @@ results. They follow inserted and deleted rows and columns, and a rule
5353 whose cells are all deleted goes. Format > Clear conditional formats5454 takes the selection out of every rule.5555 56-Rules, conditional formats and validation alike, move with cut and57-paste on a sheet, as in Sheets: the cut cells take their rules to where58-they land, and the cells they land on lose theirs. A rule whose cells59-partly move keeps both parts; with a custom formula it becomes two60-rules, each with the formula written for its own first cell, so the61-cells that stayed read what they read and the moved ones read the cells62-beside their new places. Formulas in rules follow cells that63-move. Cut on one sheet and pasted on another, the cells leave their64-rules behind and meet the rules where they land.65-6656 ## Data validation6757 6858 Data > Data validation opens the sheet's validation rules in the same
@@ -96,19 +86,36 @@ own words there. A formula is checked by the value it computes. Blanks
9686 are always valid.9787 9888 Each cell has one rule: a rule added over cells that had another takes99-them from it. Validation checks what's typed, picked from a dropdown and100-entered by macros. Pastes (Ctrl+V, paste values, text pasted from101-another program) and fills (Ctrl+D, Ctrl+R, Ctrl+Enter, the fill102-handle) are checked after they're written, as in Sheets: when a cell's103-rule rejects what landed there, the whole paste or fill is undone and104-ERROR mode says which cell and why ("Paste undone: Invalid entry in105-B2: ..."; Ctrl+Enter keeps the entry open instead); when only rules that106-warn fail, it stays, the cells are marked, and the context line says how107-many ("2 cells invalid, first B2: ..."). Imports aren't checked, and what108-they leave invalid is marked. Validation can't go on a pivot table's109-results, which take no entries. Data > Remove data validation takes the110-selection out of every rule.89+them from it. Validation can't go on a pivot table's results, which take90+no entries. Data > Remove data validation takes the selection out of91+every rule.92+93+What validation checks:94+95+- **Typing, a dropdown's pick and macros' entries**, as they're96+ entered, rejected or warned as above.97+- **Pastes and fills** (Ctrl+V, paste values, text pasted from another98+ program; Ctrl+D, Ctrl+R, Ctrl+Enter, the fill handle), after they're99+ written, as in Sheets. When a cell's rule rejects what landed there,100+ the whole paste or fill is undone and ERROR mode says which cell and101+ why ("Paste undone: Invalid entry in B2: ..."); Ctrl+Enter keeps the102+ entry open instead. When only rules that warn fail, it stays, the103+ cells are marked, and the context line says how many ("2 cells104+ invalid, first B2: ...").105+- **Imports** aren't checked; what they leave invalid is marked.111106 112107 Adding a checkbox or a dropdown changes no cells, so on a protected range113108 it doesn't ask first (on a protected sheet it does); checking a box or114109 picking an item asks as typing does ([protection](notes-protection.md#protected-sheets-and-ranges)).110+111+## Moving cells112+113+Conditional formats and validation rules move with cut and paste on a114+sheet, as in Sheets: the cut cells take their rules to where115+they land, and the cells they land on lose theirs. A rule whose cells116+partly move keeps both parts; with a custom formula it becomes two117+rules, each with the formula written for its own first cell, so the118+cells that stayed read what they read and the moved ones read the cells119+beside their new places. Formulas in rules follow cells that120+move. Cut on one sheet and pasted on another, the cells leave their121+rules behind and meet the rules where they land.
M docs/terminal/themes.md +2 -3