Can anyone tell me if it is possible to have two different types of formats on one cell? For example if I enter 100%, do a percent formula and if I enter 100 I do an integer value formula.
As SkipVought points out, Excel tries to be intuitive. It will retain the format of the first cell it "senses" which needs an applied format. To combat this, I generally recommend the keyboard shortcuts.
you could do it via the change event in code but it seems to me it would be more hassle than its worth.
On a seperate note, I cannot think of a good reason to have different number types in the same cell....I would recommend not doing so to be honest as it infers to me that there is a fundamental issue with the spreadsheet design
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.