I'm trying to set a Custom format for the Y-Axis of an Excel Chart and I'm not getting the result I need. I've referenced the Peltier webpage as a good source of information on creating custom Excel formats. I've come up with the following.
[>=1000000]0,,"M";[>=1000]0,"K";0
It works well until I need the rage to show values like 1 million, 1.2 million, 1.4 million, ect... I've tried
[>=1000000]0.#,,"M";[>=1000]0,"K";0
It does display 1.2M and 1.4M as needed but it has a period on the 1 million line "1. M". How do I modify my format to only show the period when the number to right of the decimal point is not zero?
So it looks like the best approach to allow the Axis to scale normally is to show a Zero on the right hand side of the decimal point, therefore always showing decimal point.
So, using
[>=1000000]0.0,,"M";[>=1000]0,"K";0
produces
800K, 1.0M, 1.2M, 1.4M, 1.6M, 1.8M, 2M, 2.2M
Without sample data together with expected results this may require some tweaking but you can add a specific circumstance to remove the decimal point. One of these might be appropriate.
[>1000000]0.0,,\M;[=1000000]0,,\M;0.0,K
[>1000999]0.0,,\M;[>999000]0,,\M;0.0,K
Related
Regarding Excel 2007 (though it may pertain to other versions):
I want to apply Excel Data Validation to manually inputted data. In this particular case, the input is of the form NN.nnnnh, where the digit "h" is a "half-digit". That is, it can either be 0 or 5.
The spread-sheet converts land-surveying that is manually entered in the form of Feet, Inches, and 16ths of an inch, into decimal feet
The function of the half-digit is to allow the optional higher-precision to 1/32nd of an inch.
For example:
43.0913 is the raw entry for 43 feet, nine inches, and 13/16ths of an inch.
Now, by adding the half-digit in the fifth decimal place, a precision of 1/32" can be expressed.
For example:
27.08135 is the manual entry for 27 feet, 08 inches, and (13.5/16=) 27/32nds of an inch.
The raw input NN.nnnnh is decomposed and converted into feet as a decimal number, using Excel TRUNC function. This manner of conversion is analogous to the more familiar conversion of angles entered as D˚M'S", into DD.dddddd).
I want to assure that the 5th decimal place, manually entered, is ONLY Zero or 5.
I can separately apply logical tests to determine if the fifth-decimal entry is Zero, or 5.
But, when I combine those separate logical tests using the =IF(OR( structure, I get inconsistent results IFF the manually-entered data has an integer value (i.e., in the NN.nnnnh format, any length of just one foot or greater, manually entered as >= 1.00000). Unless I undertake the surveying of table-top architectural scale models, this has serious limitations !!!
I have attached an example spreadsheet to illustrate the formulae used and the results. If anybody can shed some light on this, it would be appreciated.
(If there is a way to simply Attach a *.xlsx example....please let me know. I had intended to do this, and then discovered that it seems to be impossible!)
Use MROUND to test if the number is the same:
=A1=MROUND(A1,0.00005)
I am trying to do some reporting stuff (engineering field), and I am stuck on some "simple" thing, how to insert/add custom Min/Max values so that I can have on the certain visual (like on the picture) border values, min and max that I have defined!
I am receiving set of data, where Min/Max aren't included, and I have to calculate them (those border values are defined by us). I tried to do add column but when I go to "analytics" and try to put there Min/Max, I am getting doubled lines and its quite messy (on pic below)... Is there any easier and better way to calculate / add that? From additional table or else??
Min would be 60 °C
Max would be 100 °C , it is just temperature range and its limitation.
So on the pic below, I tried Add Column into the Data and also Measure directly (60 and 100 degrees) and got this below....the problem is, you cant edit these lines... the thing is I wanted them from Analytics part but there I cant see them because they re not "existing".
So, after little bit of playing around and some suggests of PBI pros, I will just write two ways of getting the same results, with minor change.
1) You can insert measure/column into your data set (in my case that was Min = 60 and Max = 100), simple as a day. Then on Format tab > Customize series where you can adjsut your Line: width, type, style...
2) Without any calculation: On Analytics tab > add 2x Constant Lines, put values that you want and thats it.
The only difference here is Data labeling, on 2nd option you can see your limiter value on one of the sides...and using 1st option, your limiter value is through whole line, and you cant remove it (for a whole line). But depends what and how you wanna see your data.
Maybe there are some other ways but this one was fine for me, didnt explore fully PBI yet.
I'm trying to highlight the time based on the folowing rules
If the time is lower than 7:30 be closer to red
Otherwise if the time is closer to 8:05 get close to green
In this sheet:
I guess it's easier to explain with the following illustration:
You should get the basic idea of what I'm trying to accomplish with the formulars in the formatting rule picture. That one however doesn't work.
Any ideas what would be the proper way to format this rule?
On the left side for value write 0,31 and on the right side write 0,34.
To get the correct value, that is corresponding to the correct time, simply select the time in Excel, using the Time() formula, press Ctrl+1 and select Number. You will see the correct number for the time.
Also found a way, albeit this is more of a workaround:
You can enter the values as a raw number in format of AB:CD:EF (or depending on the time format you are using) and excel will automatically format the rule somehow with decimal signs, although this really is more of a workaround rather than answer to the actual question
You can use "industrial minutes", minutes to a base of 100 industrialseconds. Then you can use standard decimal values.
In excel you simple multiply time values by 24 to get to that. Then 30 minutes are 0.5 of an hour.
For the conditional formating use a 3-Color scale and set the middlepoint to number 7.5 and a lighter green.
I have been trying to fix this for over an hour now, trying every possible answer I have read on every forum and site when Googling.
I have a series of numbers that I want to multiply by 0.15 (15 cents). However, instead of showing the actual result (33 * 0.15 = 4.95) it shows a ful number.
A full number with decimals (that is, 5.00) but a full number. As you see, it is not an issue of increasing or decreasing decimals, format, etc.
Here is a screenshot
Thanks!
ON the "Home table" click on the "decrease" or "increase" decimal (to the right of what appears on your tab-bar as "Numero"
If that doesnt work, if you look at the actual contact of the cell is there a formula in it (rather than numbers? i.e. something like:
=ROUNDDOWN(A1,-2)
=ROUNDUP(A1,-2)
=ROUND(A1,-2)
They also force rounding of numbers.
And finally the only other option I can think of is looking at the "cell format", but from what it appears you already have it on "Money"...
Just incase, double check that it's not a form of finance that "rounds off" figures. As That happens too!
I applied a custom date format to a column in excel (the format yyyy-mm e.g. 2014-01)
But when I create a graph out of three columns of data (date-in above format |heading|value) the graph shows the date as 2014-01-31 2014-02-28.
How do I get the graph to display the date as I have formatted it 2014-01 only without changing the data type to text and pasting values?
I use Excel 2013 but as far as I know this aspect of charting has not changed much since long before Excel 2010. Select your horizontal axis (click on one of the date labels in the chart), select Format Axis... and you should be able to:
(a) format the values there independently (ie in your case reapply the same custom format as applied to the raw data) and/or
(b) tick Linked to source.
The latter approach may not work quite as well as the former. Linked to source may mean something a little different from just "take the formatting from the raw data" (well, for the axis labels the format has to be common to all, whereas in the raw data it may differ between data points) and with a quick look I have not found details (for Excel 2010) of exactly what that is supposed to do.
So the former approach may be more reliable. For this you may need a two-step process. First make your custom format available to the chart and then apply it. That way the results are the same, chart and raw data formatting, though the process is not fully automatic.
One thing to watch out for is the linearity of the chart for time values. For example, if the dates are strings and the data points Jan 2012, Feb 2012 and March 2013 there is some risk the resulting labels will be equally spaced whereas the gap between the second two points should normally be thirteen times that of the gap between the first two points. Where data is approximately at regular time intervals anyway this is not always immediately obvious.