formatting - Excel integer to boolean condition -
creating spreadsheet has bunch of test cases , @ end says pass or fail.
all values right either "pass" or "fail". need able have conditional can type in number. if above 5 need return pass. if below 5 need return false. solutions guys?
the following might way go:
where enter value in b1, used condition on. it's easier , more transparent have column contains conditioned value separate original data.
another option might conditional formatting. in case, condition on value in cell. here i've formatted cells display green/yellow/red dot (traffic sign) depending on value in cell.:
with output resembling
another option change formatting of cell specific "custom" formatting:
read more how create custom number format on microsoft's page.
a final option (that bit more intricate) requires set multiple, mutually exclusive, conditional formatting of cells separate "custom" cell formatting:
note cell entry a4 has value of 16, while display "pass" (since it's greater 8 (cell b1). steps obtaining include:
- create conditional formatting using "use formula determine cells format" option.
specify "format values formula true" depicted above (removing dollar signs inserted around a4 default), while setting format using "custom":
do same other (mutually exclusive) condition creating new rule same cell ("format values formula true:" =a4<=$b$1 , setting "custom" format "fail").
once both conditional formatting rules set, change "applied to" field fit range:
Comments
Post a Comment