Axis Formatting Negative Numbers
Apr 26, 2014
I am using the following format code for the y axis of a line chart. I am shortening the axis to show 3M or 500K instead of $3,000,000 or $500,000. I can't get it to work with negative numbers, I get the full $3,000,000. Somewhere I read you can only do 3 formats in a formula. Is there a way to include negative numbers using this formatting?
[>999999]$#,,â€Mâ€;[>999]$#,â€Kâ€;$#
View 7 Replies
ADVERTISEMENT
Apr 2, 2014
I am currently using the following format to display numbers in my excel.
_(* #,###,###_);_(* (#,###,###);_(* "-"_);@
The brackets and underscores are used so that the positive and negative numbers align with overhanging brackets.
I want to modify the format such that it is able to display decimals where ever applicable.
For example
1,000 display as 1,000
0 display as a dash "-"
1.265 display as 1.265
-0.51 display as (0.51)
I tried changing it to:
_(* #,###,###.###_);_(* (#,###,###.###);_(* "-"_);@
However it added a "." to all positive and negative numbers regardless of whether there were decimals after it.
e.g.
10 displayed as 10.
-30 displayed as (30.)
In otherwords - I am trying to find the "general" format and modify it to include brackets for negative number, and also modify it so that the positive numbers aligning with the negative numbers with the ) over hanging.
View 4 Replies
View Related
Feb 19, 2014
I need the conditional formatting to make all numbers that are zero clear (i.e. no fill).
I need it to make all negative numbers to be red, however it doesn't seem to recognize "-1" as a number, and ends up highlight everything red when I say "highlight values < -1 red".
How would I do this?
View 2 Replies
View Related
May 12, 2009
I have a large dataset (24000 rows) that requires me to multiply two different columns of integers. In some cases, the two integers are both negative and multiplying them results in a product that is positive. I actually need that product to be negative rather than positive. I can't quite seem to figure out the best way to accomplish this.
View 5 Replies
View Related
Jan 10, 2014
I noticed that if I have data that trends downward a straight line trendline will suddenly create a negative vertical axis. But if my data is only positive, how would I prevent that negative vertical axis from appearing?
yer.xlsx
View 2 Replies
View Related
Aug 1, 2007
I have data that comes from a subsytem that places the negative sign at the right of the number, so it is recognized as text. I can get around this using find and replace and then a second step to multiply that by -1, but is there a formula that can do this for me?
I was trying if(right(A1,1)="-",TBD,A1)
View 4 Replies
View Related
Feb 1, 2007
I know ASAP has a feature to do this but I need the code in a bigger macro that I wrote.
EX: -1 needs to be 1
View 9 Replies
View Related
Dec 17, 2009
I have a column of variances, these contain both negative numbers and positive numbers. I want to gather a sum of all the negative numbers and positive numbers separtely. Basically saying all the positive overeages = this amount And all the negative shortages = this amount. you can see the attached sample.
View 3 Replies
View Related
Sep 20, 2009
Usually this question is asked the other way around, but I have a somewhat unique problem. A certain website gives out tables filled with numbers. Positive numbers show in black font and negative numbers show in red font, but unfortunately, negative numbers do not include the minus sign -- the font is red and that's it!
I need a macro (or any other solution) that will turn the red font numbers to negative ones and would possibly format the cell to show negative numbers in red (I guess the last part is easier). The main problem is searching for the red font numbers and turning them negative.
View 9 Replies
View Related
Feb 8, 2009
Two questions:
1) How do make values on x-axis as words? E.g. apples, oranges, etc.
2) Is it possible to have the numbers on x-axis in descending order? If I can figure out 1), I can do this as well, but it would be nice to know if it is possible to have the numbers on x-axis in descending order.
View 8 Replies
View Related
Aug 2, 2013
I created a bubble chart whose x-axis and y-axis show every 10th value between 0 and 100 (i.e. 0, 10, 20, 30...). The axes intersect at (50, 50) to create 4 quadrants.
I want to erase/hide the values on the axes (i.e. the axes will no longer show 0, 10, 20, 30... and at the same time, the bubbles will still be in the same place) to create 4 blank quadrants and make my bubble chart easier to look at.
View 4 Replies
View Related
Apr 2, 2007
How can I get the sum of a range excluding any negative numbers?
I've thought about using a new column and using if statement to separate but it would be easier if i could use the same column.
View 9 Replies
View Related
Sep 22, 2009
How to show negative values displayed in brackets so that it is aligned properly with positive values in the same column. That is, the right bracket of the negative value is as follows:
(1,234.56)
800.12 - so that 2 is aligned underneath 6
I have done research on the forum and help on vba and got the following
"#,##0.00_);[Red]($#,##0.00)"
I understand that the underscore is needed for the alignment.
However, when I include the _) the above is shown as follows:
(1,234.56)
800.12_) the underscore and bracket are included and the bracket and is aligned underneath the right bracket above.
View 9 Replies
View Related
Jul 27, 2007
Attached is a chart I am trying to create. So basically, I originally used a line chart but it didn't have the flexibility of the scatter chart, but i am having a very hard time formatting the X axis. First of all - I would like the line in the middle at the 0% point to actually go to the bottom so that the x axis labels aren't in the middle of the graph. Second the x axis labels aren't showing up correctly. They should be quarters: 1Q:02, 2Q:02, 3Q:02, 4Q:02... Finally, how can I show the correlation between these two data points plotted - the R-squared. THANKS!!! Auto Merged Post;I actually was able to figure out most of what I asked. What is remaining: how do I calculate the R-Squared on the chart? Isn't there a way to do it automatically in excel on the chart.
View 3 Replies
View Related
Apr 24, 2009
Excel 2000. I am having a little problem getting the list of numbers detailed below to turn red if Negative and Green if positive, (0:00 to stay blank). These numbers will changed between a maximum of 120:00hrs and -120:00hrs....
View 2 Replies
View Related
Jul 16, 2007
It seems that time (i.e. -1:00) will be default as #########, etc. This makes me very unhappy. How to get around?
I could be fine with converting time to a total in seconds (i.e. 1:00 converted to 60 seconds)... but I'm not sure what kind of formula could do that.
View 9 Replies
View Related
Jun 11, 2014
I currently have a thermometer chart in Excel 2013 that I set up with percentages along the Y-Axis. The thermometers are showing spending based on a budgeted number. Currently, the project is over-budget so I have adjusted the thermometer scale to go far beyond 100%.
I would like to have the percentages past 100% show in red along the lefthand side.
View 2 Replies
View Related
Oct 8, 2011
Why the recorded code doesn't work? I recorded the code below to format the Y-axis values of a chart with the recorder.
Code:
ActiveChart.Axes(xlValue).Select
With Selection.Format.TextFrame2.TextRange.Font
.NameComplexScript = "Arial"
[Code].....
View 6 Replies
View Related
May 24, 2005
I am trying to format the colour of a column chart based on the value of the x axis (not the y axis value). Firstly I need to know if it is possible. Secondly I would appreciate any hints / VBA code that could be useful.
View 4 Replies
View Related
Sep 23, 2009
I'm trying to sum negative numbers using the following formula, however for some reason it's not working in the way that it would if I flipped the < to a > sign.
=SUMPRODUCT((Data!$AB$10:$AB$3222=$C$58)*(Data!$L$10:$L$3222=D57)*(Data!$W$10:$W$3222
View 9 Replies
View Related
Jan 19, 2010
When a user enters an amount in a cell, in £'s, i need it to show a negative amount. So if they enter £100 I want excel to regard it as -£100.
View 4 Replies
View Related
Dec 11, 2013
I am attempting to add conditional formatting (yellow fill) to cells that are greater than 15% or less than -15%. I've tried the following formula but, it highlights all cells.
=or(b2:b5>15%,b2:b5
View 1 Replies
View Related
Oct 19, 2008
I have a very simple formula which is basically one cell minus another "=A1-B1".
When the values are equal, the cell this formula is in will display a zero. However, when the subtracted figure is greater than the first figure, i will then get a minus figure E.g. 10-11 = -1.
How can i make it that when the formula result is less than zero (i.e. a minus number) the figure displayed stays at zero but still using the minus funciton? Basically once it hits zero i need it to stop subtracting. This may be really simple but i cant figure it out.
View 4 Replies
View Related
Feb 24, 2009
I want to key-in positive numbers, which I really want Excel to interpret as being NEGATIVE numbers. In other words, I want to avoid repeatedly striking the MINUS key. How do I:
Format these Data-Entry cells to this?
Format these Data-Entry cells to return RED displays?
I'm using Excel 2000
View 2 Replies
View Related
Apr 24, 2009
I have constructed an inventory formula, subtracting Current Inventory (CI) from Required Inventory (RI), to generate a number of how many new products must be Ordered: RI-CI=O. The problem is that if CI exceeds RI, I get a negative number for "O".
Question: How can I structure the formula to give a zero for any sum less than 1?
View 31 Replies
View Related
May 18, 2009
I understand how to only sum negative numbers but my problem is pulling only certain ones from a list. I have tried numerous IF and SUMIF statments with no solutions. I have attached a worksheet showing what I am trying to do.
View 5 Replies
View Related
Aug 17, 2009
I used this code to extract the value on the text: "11/09/09 backyard $400"
=IF(ISNUMBER(SEARCH("back",A4)),RIGHT(A4,LEN(A4)-FIND("$",A4))+0,"")
and return "400" but i've encountered a value which is negative (could be
-$400, or ($400); and i got an error of #value, could anyone resolve this problem?
View 6 Replies
View Related
Feb 10, 2006
How can I find the inverse function of sine and also how do you find powers
to negative numbers
View 10 Replies
View Related
Jul 19, 2006
IF formula
=IF(D9="","",IF(AND(G9>0,G10>0),"",IF(G9>=G10,G9,G10))+IF(E10=0,"",E10))
G9 and G10 can be positive or negative. If G9 or G10 is a negative number,
I want the greater of the two to be used and then to be added to E10. But
right now, Excel is saying -20 (which is G10) is greater than zero. I'm
getting a VALUE error.
View 14 Replies
View Related
Aug 7, 2006
I have been working on an excel sheet:
I am working with stock options. Therefore I must subtract the current stock price Cell C2, which has a value of 23 with the Options price which is D9, has a value of 34.79 then muliply it with the shares which is cell F9 which is 4000. So the formula that i have is (C2-D9)*F9 that gives me the sum which resides in cell I9(total outstanding profit).......This turns out to be a negative number. I want to make it so that if the sum of that formula produces a negative number, i want that negative number to just become a "0". Ive tried the IF function but could not produce any results.
View 14 Replies
View Related