Change cell formatting without VBA. Custom formatting?
Posted
by
Sux2Lose
on Super User
See other posts from Super User
or by Sux2Lose
Published on 2010-12-22T14:53:22Z
Indexed on
2010/12/22
14:56 UTC
Read the original article
Hit count: 263
excel-2007
|formatting
I have a dropdown field with two values in a form I am creating. The expected data in cell D15 changes depending on the selection. If Option A is selected then a dollar amount is expected. If option B is selected that a percentage is expected.
I would like the cell to be formatted as 'accounting' w/ zero decimals for option A and 'percentage' with zero decimals if option B is selected.
I do not want to use VBA, if possible. I'm hoping there is a custom formatting solution.
© Super User or respective owner