can I use text color to set up a formula in excel (Red text = -1)

G

Guest

I would like to create a spread sheet that when something is written in Red
text in a cell that it will subtract one from the total. Is Excel able to do
this?
 
H

halimnurikhwan

hI,

I think you mean is negative value that Excel format them
automatically as red for the font color.

You don't need to subtract the total trough VBA, because
Excel will subtract them

Regards,

Halim

gypsyatheart menuliskan:
 
G

Guest

If you knew the exact color index or RGB combination that made up the RED
text you might be able to do it, but it is an extremely dangerous way to
write your code if you are looking for accuracy. I would suggest you try a
different type of flag that is easier to control for input by the user.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top