hi, !
1) AFIAK there is NO WAY to put a (pre-filling) "mask" into EMPTY cells, however...
2) when you customize number formats you have four available sections separated by 3 semi-colon (
the 1st section applies for positive numbers
the 2nd section applies for negative numbers
the 3rd section applies for zero values
the 4th section applies for text values
(you also have format codes available for each section, they are brackets delimited)
3) if you play with the numeric sections (regarding to positive, negative, zeroes and text)
you can also define a color (according to conditions) prefixing the color to the section
(i.e.) settle color to a custom format would it be something like the following...
[Green][<0]#,##0;[Blue][>10000]#,##0;[Yellow]#,##0
check the online help and you will find a great variety of applications for the format codes
watch for (possible) differences in the names of the colors for languages, etc.
hth,
hector.
Hector, thank you for your explanation! Much appreciated. I'm going
to study this. (Love these ngs, learn so much!) When there is a lot
going on in custom formatting, I run into troubles and maybe this will
help me learn how to handle the more complex examples once and for all
<g>.
Fortunately for me, esp. since it's a spreadsheet for work, I
absolutely have had to keep working on it. And, as with other
discrepancies that have turned up in this workbook, I've found that my
predecessor has been as inconsistent here as with a lot of other areas
in my job. She didn't pick a standard and stick with it. That turned
out to be a good thing as I found about 3 other pieces of custom
formatting which supposedly achieved the same result yet that gave me
enough of a variety that I was finally able to successfully edit the
coding. I then went back and made _all_ pertinent currency cells the
same format. To get the dollar sign then some spaces and then a
hyphen and a few more spaces, when there would otherwise be a "0" and
yet still show up with parantheses and in red, this seems to be
working:
_-$* #,##0.00 ;[Red]($* #,##0.00) ;_-$* "- ";_-@_
I now have a folder-full of invoices to enter into this large workbook
so time will tell if this continues to work as well as it has been
since yesterday.
Thanks everyone. I don't know how "legal" the above is, but it's
allowing me to keep the basic structure that they're used to, which is
ideal, though converted it to English, which is what it should be for
consistency. I'll keep the French stuff in case they need me to
translate this at some point, if ever.
Thanks!
D