Check
Check
(OP)
Came across this simple check for confirming compliance. Didn't take much to implement it. Can use variables to show Mf <= Mr, etc. I was looking at some means of displaying a message, and, I came across it in another *.pdf code and thought it would be easy to implement.
https://files.engineering.com/getfile.aspx?folder=...
https://files.engineering.com/getfile.aspx?folder=...
Dik
https://files.engineering.com/getfile.aspx?folder=...
https://files.engineering.com/getfile.aspx?folder=...
Dik
RE: Check
You can also do similar in Excel with named ranges, create a named range called OK or PASS or whatever you fancy, add whatever text you like in these cells for the displayed warning string. Do a similar one for NOT_OK or FAIL or whatever you like.
Then instead of having:-
=if(Mf<=Mr,"FAILS","PASS")
you can just have
=if(Mf<=Mr,NOT_OK,OK)
Your corresponding text string relating to the true/false condition will be displayed. It also has the beauty of using autocomplete while typing out formulas for the named ranges, so beats typing out similar strings all day long. As an added bonus adding conditional formatting like turning the cell red if its false is also pretty easy with a formula '=NOT_OK' as the conditional format, better than hard-coding the failure string into the conditional format.
Using this method you can change the pass/fail variable spreadsheet wide without the need to change each individual formula or conditional format that might contain text strings.
RE: Check
BTW, in Excel I like using "conditional formatting" to highlight fields when they are "NOT OK". It's much easier to use since about 2010.
STF
RE: Check
SparWeb: Still use excel... I've hundreds of programs I've written in it. Used to use MathCAD, but, found the formatting difficult. As I use SMath, I'm finding it a lot easier, and am starting to do things that I wouldn't attempt in MathCAD or Excel.
Dik