Solved

Some Positive cell values display in RED font

Posted on 2014-01-03
9
421 Views
Last Modified: 2014-01-07
I want to display the values in a financial report (created in Excel 2010) so that the values less than 0 will display with parentheses in Red font. When I apply the following format I get inconsistent results:  #,##0);[Red](#,##0) .

Strangely, in certain Excel reports, some positive values are also displaying in Red. Again, only SOME of the values are displaying incorrectly.  Does anyone know what causes this? These are formal, regular financial reports that must be correct.

See attached slice of a report.

Thanks for your help.
RedFont-Sometimes-Wrong.xlsx
0
Comment
Question by:thutchinson
  • 3
  • 3
  • 3
9 Comments
 
LVL 18

Expert Comment

by:Steven Harris
ID: 39755194
The two examples you show are formatted as red text, and are not changed by the conditional formatting.

You can also see that the text color is slightly off from Text Formatting and Conditional Formatting colors:

Color Variations
0
 
LVL 15

Expert Comment

by:ChloesDad
ID: 39755209
Following on from the first post by ThinkSpaceSolutions, the conditional format is only changing values that are <0. If you want to force >=0 values to black then you should add that as an extra condition in the rule that you have already set up.
0
 

Author Comment

by:thutchinson
ID: 39755266
I was fooling around with conditional formatting to see if I could correct it.  I guess I chose the wrong red tone.

So, some of the values are actually text and don't easily convert to numbers when formatting is applied?  This file is an output from a cloud-based app.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 15

Expert Comment

by:ChloesDad
ID: 39755287
What are the values that you are concerned about?

Are they in your sample file already posted?
0
 
LVL 18

Expert Comment

by:Steven Harris
ID: 39755356
So, some of the values are actually text and don't easily convert to numbers when formatting is applied?

Conditional formatting is "logical" at this stage and numeric versus text is kind of irrelevant.  If it runs across clear text, it would then be <0 and have formatting applied according to your rules.  Does that make sense?

I guess the main point would be start fresh with the data (all black text) and re-apply the conditional formatting. If there is an error, provide an example with the error displayed.
0
 

Author Comment

by:thutchinson
ID: 39756035
CloesDad,
The values that I'm "concerned about"  are clearly indicated in far right column and Col1 is highlighted in yellow.

ThinkSpaceSolutions,
I will try your suggestion and try taking all values to black first and then apply conditional formatting.
0
 
LVL 15

Expert Comment

by:ChloesDad
ID: 39756040
And by adding the extra conditional format they change to black.

I was referring to the text rather than numbers that you suggested will be imported into the spreadsheet
0
 
LVL 18

Accepted Solution

by:
Steven Harris earned 500 total points
ID: 39756061
See if this looks any better.

I used Ctrl+a to select entire worksheet and then formatted all text to black.

Conditional Formatting was not changed and all values greater than or equal to 0 (>=0) are black, while all values less than 0 (<0) are red.
RedFont-Sometimes-Wrong--1-.xlsx
0
 

Author Closing Comment

by:thutchinson
ID: 39763002
That's the one!  Thanks  Thinkspace!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question