May 25, 2007 #1 CFNB Programmer Feb 15, 2007 36 CA hello. I have this following peace of code which works fine. =IF(OR(A13={"UNITED STATES","JAPAN"}),A13,"") I would like JAPAN to be printed in red and UNITED STATES in bleue. How would I add this restriction in the code, if it is possible? Thanks.
hello. I have this following peace of code which works fine. =IF(OR(A13={"UNITED STATES","JAPAN"}),A13,"") I would like JAPAN to be printed in red and UNITED STATES in bleue. How would I add this restriction in the code, if it is possible? Thanks.
May 25, 2007 1 #2 S SkipVought Programmer Dec 4, 2001 47,487 US Hi, You cannot do formatting with a spreadsheet function. You can, however, do Conditional Formatting, using Format>Conditional Formatting... You are limited to THREE different formatting conditions. Use one for Japan and one for The United States of America. Skip, [red][/red] Upvote 0 Downvote
Hi, You cannot do formatting with a spreadsheet function. You can, however, do Conditional Formatting, using Format>Conditional Formatting... You are limited to THREE different formatting conditions. Use one for Japan and one for The United States of America. Skip, [red][/red]
May 25, 2007 1 #3 AnotherHiggins Technical User Nov 25, 2003 6,259 US Formulas can only return an answer. They can't impart any formatting to a cell. But have a look at Format > Conditional Formatting. You can have two criteria, one for US and another for Japan. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
Formulas can only return an answer. They can't impart any formatting to a cell. But have a look at Format > Conditional Formatting. You can have two criteria, one for US and another for Japan. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.