Forum Discussion
Excel Tip: Simple Custom Numbers Formatting Based on Their Sign
I'll have to say that I started viewing this with a lot of skepticism: "I mean, conditional formatting isn't all that difficult!!"
But I ended realizing that for some situations that could indeed be useful...I hadn't realized that custom formats could handle text mixed in with numbers, to say nothing of the colors. So I'll keep that in my bag of tricks.
I do have a question: Your example dealt only with positive, negative and zero values; can the custom formatting handle different colors based on values in the given cell compared with other cells? For example, a date within 30 days of another date in green, but greater than 30 days displays in black? Or does that kind of user-defined condition still require conditional formatting?
- zaittworksJul 25, 2020Copper Contributor
Hi there, thanks for the question. For that you DO need conditional formatting, at least as far as I know.
Your example is a perfect candidate for conditional formatting 🙂
The thing about this hack is that you can quickly type it in. Wehn more complex formats are required, I would turn to conditional formatting.
- mathetesJul 25, 2020Silver Contributor
Interesting.
So custom formatting hacks can do simple things with complexity.
While conditional formatting is required to do complex things simply.
I like the symmetry!!
- zaittworksJul 26, 2020Copper Contributor