Hi,
I can't get to understand what is wrong with the 2 first charts.
Apparently, when all the values are the same no line is drawn. That is the only particularity I've found, since the 3rd graph demonstrates it's not a consecutive 0 value problem, and the 2nd graph shows it happens also with values different than 0.
Any idea what can be happening here? The 3 of them are drawn using the same function. The only thing that changes is the database inyected.
It's not possible to show a link or a proper fiddle, sorry.
Related
I'm trying to graph two data sets on the same graph with two different y-axis. They are both over the same overall time scale (~330 hours), but the individual observations are different. When I graph the data I get one set formatted and graphed correctly, but the other is squeezed all the way to the right of the chart.
Is there any way to fix this issue? Thanks
I've tried switiching which elasped hours is the x-axis, but it always results in one correctly graphed set and one messed up set.
I have my line chart showing all the data properly, including some annotated values which are meant to act as the label in the last data point for the lines. I wanted to do it this way so that I don't have to show literally every data label for every data point.
I have everything working correctly, but I noticed I am unable to remove the annotated legend item without removing the series. By removing the series, I lose the label. Below is my chart.
As you can see, the last data points are working as labels (1092 for example). The problem is you can also see each annotated item in the legend (the colored dashes with no text next to them). How can I only show the legend items for Gained (green), Lost (red), Net (gained - lost) (yellow), and Total (blue), without the other dashes? Is this doable?
I am also open to seeing if there is another way to have only the last data point have a data label in Google Sheets. I was just working off of this tutorial.
Below is a screenshot of some of my data rows in an accompanying sheet.
as long as the annotation column is specified as 'Label' for the primary column you shouldn't be seeing the former in legend
I am using Google Sheets and have just noticed a very worrying issue.
I have a situation where I have a number (for example 4.99) in the left column and the right column through a series of formulae may come out as 30% or so. I changed the number in the left to 5 and the number is the right column jumped to 50% or so (highly unexpected to see such a large jump for such a small increase, so I decided to investigate). When I typed 4.99 back into the left box, the result in the right was just slightly lower than the 50% or so.
I then checked several other numbers in the left column. It turns out that this was the same for all of them. I.e. the number in the right column was not calculating properly until I changed the number in the left column and pressed enter. How is this possible? I have never had this problem with Excel and I don't know what to do other than to migrate back to Excel as I am now doubting the reliability of all the spreadsheets I have on Google Sheets.
Has anybody else come across this problem?
I managed to figure it out moments after posting this.
In the column for some reason some of the cells were considered numbers and some text. I performed an if statement (<10), which came out FALSE for all cells considered text.
Quite dangerous - surely the cell on the right should show an error and not assume FALSE?
I need to show in one single bar chart the number of elements of each column and also its percentage regarding the total.
With a Line and stacked columns chart, I reach this:
However, the tooltip option, on the line, shows me only one value, and I need to get both of them. I mean, not only that 32 but also the percentage corresponding to that value.
Is there a way to get this? maybe another chart?
OK. I understand the question now. Unfortunately, this isn't currently possible.
From Microsoft Community Support,
This is an expected behavior. The tooltips only show when you hover over a column data point in combo chart.
This has been submitted as an idea for Microsoft to address. Please vote and/or comment here:
Combo Charts: How to add tooltip on line
In my example I am working on a Google Sheets to help me calculate how much staff I'll need for a Call Center at particular times.
My equation for the cells highlighted in blue is =1-(B40/30). The numbers next to it (on the row for 8:30) were an experiment I did in which I say =1-(B40/60), =1-(B40/90) and so forth etc. The idea is that eventually it will equal 90% (0.90) or higher at some point. I need a way to loop and add 30 everytime like I did manually in my example and count how many times I had to do that until I reached the number 90% (or whatever number I put for the highlighted green area in the picture). For example it took 5 steps to get to 90%, so this function should return 5.
How do I do this? I have tried looking into array formulas but can't seem to figure out if this is the right method or not.
Ok, then... Look at the image:
And the code:
=SUM(ArrayFormula(IF($C$4*TRANSPOSE(ROW($A$1:$A)*$C$3)/B9<$C$5,1,0)))+1
All variables are in C1:C5
Final formula is a bit complicated, so at the link below you will find step by step approach to this result (as a single formula)
Link to working copy
I hope it will help you
Edit:
If you want to simplify (based on your comment), look at this:
Code:
=SUM(ArrayFormula(IF($C$4*TRANSPOSE(ROW($A$1:$A))<B7,1,0)))+1