Currently I'm able to set one column line already using the Options > Tweaks > Show column line at option.
How do I set multiple column lines / grid lines?
Beyond Compare only supports setting one column line. It isn't possible to set multiple column (grid) lines in the Text Compare.
Related
I need your help on this one. I'm looking to create a chart (without code) to display data by month in column charts, either like this:
Or like this:
In the figure 1, I read that the volume of 10 is driven by A, B & C.
In the figure 2, I read that the volume of 10 is driven by 4xA, 2xB & 4xC.
I tried to create my chart but the labels are awful on a single line, and I did not find any way to add a newline characters (\n, ...) in my labels serie.
Any idea to do one or the other one without going though apps script?
Thanks for your help!
You can do this by adding a label column to your data. See this example,
https://docs.google.com/spreadsheets/d/1H5frKDH612ciLKnB0HY7FiB2FNQBobbhFGcvYqxC7f8/edit?usp=sharing
Add one label column for each data column
Create chart
Use stacked non 100%
Set range to include all labels
Set labels
In customize series check labels is on
In the downdown for label pick custom rather than value.
ScreenShots -
1. Add Label Columns 2. Set Labels on Series 3. Turn Labels On
Is there a way to delete empty cells in a given range and shift the column up to the desired display as shown below? Closest I came was
=ARRAYFORMULA({A1:C1; TRANSPOSE(SPLIT(TRANSPOSE(QUERY(A2:C,,999^99)), " "))})
which removes empty cells, but splits the first names and surnames into separate cells, which I have not figured out how to avoid. Pfa a made-up sample of current and desired displays:
Current Display
Desired Display
I'm new at this, but I came up with a bit of a brute force method, which may help you.
={
{(A1:C1)};
{FILTER(A2:A100,A2:A100<>"");indirect("N1:N" & 100-counta(A2:A100))},
{FILTER(B2:B100,B2:B100<>"");indirect("N1:N" & 100-counta(B2:B100))},
{FILTER(C2:C100,C2:C100<>"");indirect("N1:N" & 100-counta(C2:C100))}}
Assuming your data block is in columns A1:C100, this formula filters blank cells from each individual column, and then pads each column with blank cells at the bottom, to make the three arrays equal in length/dimension.
Note that in "100-counta(...", the 100 is the expected maximum length of your data column.
This could be calculated, and must be the same for all three columns.
Note also that the first array is horizontal (ends with a semi-colon), followed by the three columns, stacked beside each other (ends with a comma).
Here is a working example.
https://docs.google.com/spreadsheets/d/1MGaqqGrkmIliuAzEqxPtdEVZXWPN2K5W7jFFM-ZnwgE/edit?usp=sharing
If I missed something you were trying to achieve, let me know.
Also, I'm sure that there is a more elegant way to do this, or one not requiring the use of a block of "reserved" blank cells, but I couldn't think of that at the moment.
Edit: The formula as follows also works. But you need to remember to set the "100" value to be equal to the number of rows in your data block, since we pad the columns with the necessary number of blanks rows, after removing the blank cells in each column.
={
{(A1:C1)};
{FILTER(A2:A,A2:A<>"");indirect("N1:N" & 100-counta(A2:A))},
{FILTER(B2:B,B2:B<>"");indirect("N1:N" & 100-counta(B2:B))},
{FILTER(C2:C,C2:C<>"");indirect("N1:N" & 100-counta(C2:C))}}
I have made a guest list sheet in Google Sheets with two columns, one of name and one of attendance. The attendance column can have two values, either X (when people don't come) or a number (mostly 1 or 2, but safe to say always bigger than 0).
I've already created a custom formula marking the whole line (including the name) red if there is an X in the second column.
This formula works like a charm!
I now want to do the same thing, but making the whole line (including the name) green if there is a number placed in the column. I've tried replacing the X in the custom formula with 1, 2, 3 etc (also with colons and semi-colons) but that doesn't work.
Does any of you know what I need to do?
Please select ColumnsA:C and: Format > Conditional formatting..., Format cells if... Custom formula is and:
=and(isnumber($C1),$C1<>0)
with green fill for Formatting style and Done.
(Assumes 2 etc are Number format.)
I am trying to create a highlight in my sheet that will allow me on a row by row basis to highlight the version numbers that do not match the master column. I also want the rule to ignore anything that is marked as N/A as it should not be considered.
e.g. column E houses the latest version v1.0.2, columns H-O list the versions available at various locations, two of them are still on v1.0.0. I want any that do not match the master version (outdated) to highlight.
How can I do this and have it apply to each row individually? So row 7 values are highlighted based on E7 but row 8 values are highlighted based on E8. These are not plain numerical values but include text.
So I have figured it out after a bit of messing around based on answers to similar questions. All using Conditional Formatting.
Make sure that each rule created has the correct range applied so only that section of the sheet is checked (in my case H6:O18).
This ensures that whatever rule I add, it only applies to that part of my sheet.
Custom formula "=$H6:$O6<>$E6"
To explain this, it looks at the range of data entries (From the H to O columns - starting with row 6) and compares it to (in my case) the master entry in column E to compare. Basically asking do the entries differ?
The $ symbols are included in front of the column values to mark them as unchanging. The row numbers do not have the $ symbol and so can change. Therefore it checks H6:O6 against E6, but will check H12:O12 against E12. Maintaining the column but not the row.
Additional rule added "Cell is empty"
This is set to not highlight - applied to the same range (H6:O18). This is placed above the previous rule to overrule it. Therefore any blank cells are not highlighted as different, they are ignored.
Additional rule: "Text is Exactly"
This is applied to the same range and ordered above the original rule to again overrule it. The text to check is "N/A". Again this is set to not highlight or alter anything. This ensures that entries marked N/A are ignored much like blank cells.
An extra addition I included was duplicating the first formula but changing the <> to = and changing the highlight to green. This highlights anything that matches while any differences are highlighted red. N/A or blank cells are ignored.
Example of highlighted cells + Formula
I want to create a combo chart with 2 line graphs. One of them is sourced from a pivot table in another worksheet and another is a horizontal line which may be
adjusted.(Think of equation y = 500.) How can I graph the second graph?
The circled number is horizontal graph (y = 18879.00) and it can change. How can
I graph the dynamic horizontal graph?
If you want to keep using a pivot chart, you can create a Calculated Field with the value of the line, add that to the chart and format the series as a line. With this technique, the line will not be dynamic and you will need to change the calculated field value when you want to move the line.
If you want the line to be dynamically linked to data in a cell, then you can't use a pivot chart. You'll need to create a regular chart from the pivot table data and add the line as a new data series. There are several techniques how to achieve that. The screenshot shows how the line can be plotted by having one value for the first and the last data point each. Cells H3 and H14 both point to H18, where the line value can be changed in one cell.
Add the data in H3:H14 as a new series and format as a line. If the line does not show, make sure to set the option for "Hidden and empty cells" to connect data points with line.