How to change a cells colour based on a cell on a seperate sheet being empty - syntax

I'm struggling to nail this. I'm trying to use conditional formatting on google sheets to change the colour of a group of cells based on a cell in a different sheet being empty.
So for example I have a sheet called "Controls" with an empty cell, M13, to write a persons name. Once that cell has had text inputted I would like a group of cells, BE2:BN25, to change colour to white so as effectively 'unlock' them for data entry.
I've tried =NOT(ISBLANK("Controls!M13")) but it's not changing colour once some text has been entered to that cell.
Is this possible on google sheets or am I just making a glaringly obvious error?
Thanks in advance for your help.

try:
=NOT(ISBLANK(INDIRECT("Controls!M13")))

Related

Add cell formatting at run-time

I'm following the formatting example shown here:
http://6pac.github.io/SlickGrid/examples/example2-formatters.html
As per the example, the statusFormatter can return addClasses, removeClasses, text and tooltip. However, in my case, the user defines the conditions, and the formatting. For example, through a settings page, the user could specify:
The condition (i.e. ">3"),
The formatting associated with the condition (i.e. blue background with white text)
Hence, I don't have the ability to create the css file at design time. I have the conditions working. So then my colorFormatter returns
returnValue = `<div style="${css}">${value}</div>`
this then creates a cell, which looks like this (with a white border around it)
Ideally, I would like to pass in the dynamically generated css style back to the grid cell, so the white border doesn't show between the cell border and the formatting which I would like in the cell.

How to add patterns or stripes to SSRS data cells instead of a color

IN SSRS:
I can only add Solid color fills to the data cells inside a matrix.
How do I add Stripes or Patterns as background fill instead of a solid color.
Is there a particular color code like '#xxxx' for stripes?
There are certain rows in my report that need to have stripes or patterns as backgrou fill.
Thanks
I have found some methods around this:
1- You can use image gradients to fill text boxes by right-clicking the cell and selecting text box properties. You can use the Fill tab to select a small image or item that has a gradient or pattern and apply it within your cell(s)/report.
2 - Another approach is to use a combination of Font/Color/Bold/Italic/Underline and Boarder colors/weight to achieve your desired result.
3 - Apply a gradient-style scheme to your report by using one or more colors and dynamically changing the hue as you go up or down the report. That way, the top could be darker than the bottom, or vis-versa.
I hope this helps.
Numerous fonts can be used.
Open the Character Map
Select Arial in the Font drop down
Scroll to near the bottom, select the cross character
Hit the Select button a number of times, grab as many characters as the SSRS textbox may require to fill its width
Click copy
In SSRS select the textbox then Ctrl-P to paste
Experiment with font size and font color to get the desired effect
Setting padding to zero may help
Setting row CanGrow to False may help
I find there is a little gap between cells vertically but it is close to perfect for me. There is likely to be a character in Arial or another font that works even better.

SSRS report produces blank/white spaces when column are hidden in tablix

I have report developed in SSRS 2005. It is a simple and straight-forward report using a stored procedure to fetch the data and display. This report has 100 columns and there are no grouping or subreports etc.
But user has option to select/deselect the column names to show/hide on the report. When the user select to hide couple of columns report is giving me blank/white gaps when exported to pdf or any other formats.
Is there any solution to this?
You need to ensure that you are hiding the row or the column of the table and not simply the fields. Check HarlingtonTheWizard's post at the following link:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=109566
Once the rows/columns are hidden, the height/width will collapse.
I do not consider this as the best solution but is more of a hack but this is what I did in my situation.
1)Place a white rectangle in the desired cell. Make sure that the rectangle is white and has no borders.
2)Place the textbox inside the rectangle. Set an expression to hide and show this textbox.
3)Repeat for each cell in that column.
Therefore, when the textbox is shown it will look as normal. When the the textbox is hidden, the white rectangle will work as a "placeholder" to occupy the cell.
You can try setting Report property containerwhitespace="True".

Conditional color change in a chart

Is it possible to create a bar chart with red colour when the values are negative and green colour when the values are positive? Is Conditional formatting within a chart in iReport possible?
If so, could anyone suggest a way to do it?
Thanks in advance for your help.
I know this is old but maybe someone needs it. Paste a green chart in one group and paste a red chart in another group( changeing the series color).
Of course both charts are connected to the same query. Then in the print expression of each group check like if (num<0) print this group, then in the other group header's print expression check if (num>0) print this group
I'll go with #Rika
I don't think there is a way to that, 'cuz since the graph is a whole object you don't get to get access to them bars individually. iReport has some limitations, u know.

is there built-in way to make DevExpress XtraGrid GridView column headers/captions diagonal to save horizontal space?

I have a whole bunch of very narrow columns in a DevExpress GridView and I want to save on column header width by making the caption text (which is too wide even at 3-4 letter abbreviations) slanted / diagonal. Well, so I guess I could get rid of text captions and replace them with pictures of diagonal text, at least if GridView will allow sufficient height for the header.
Is there any built-in way to just display the rotated text without going the image way? I don't think I am the first programmer out there trying to squeeze out horizontal space like that, so this doesn't sound like an outlandish thing to support in a popular grid component :-)
If not, and so I do have to use an image for column header, any relevant suggestions or warnings?
XtraGrid does not provide a built in functionality to show column header captions this way. However, this can be done within the CustomDrawColumnHeader event handler. We have posted a tutorial showing how this can be done. By default, it should be located at:
C:\Users\Public\Documents\DevExpress 2010.2 Demos\Components\WinForms\XtraGrid\CS\GridTutorials\GridVerticalHeaders
NOTE, as this feature is implemented using custom draw. It means that this text is only painted this way. Custom drawn text won't be exported or printed.

Resources