Conditional Formatting Excel - macos

I need to highlight row value based on value of two cells.
I need the formula to work for entire worksheet.
for eg : if value of B2 > 0 and value of P2 = "NOT OK" then highlight the row with pink color.
But when i add the formula on mac excel 2011 like AND($B2>0,$P2="NOT OK")..its not working.

That formula
AND($B2>0,$P2="NOT OK")
should work. When you create it, make sure that you highlight the whole area, starting from the first applicable cell in row 2, to the bottom-right of the area. The formula is applied relative to the currently active row.
Also ensure that the cell value is exactly "NOT OK"; that is, without any leading or trailing spaces.

Related

Powerbuilder label datawindow - Cutting the field value on left and right side

I have created a Label datawindow (all fields aligned to center). The field value(length = 80) is having no spaces in between. So while generating a label report from powerbuilder application the field is cutting left and right side.
In case the field has spaces in between, in the report it will go to next line.
Im using Powerbuilder 2017 R3.
If any advice it would be grateful
Thanks in advance
You need to expand the display area of the columns to handle the max width. If this isn't an option then you will have to programmatically break up the strings which have no spaces since PB doesn't know when to wrap since there are no breaks in the text.

How to add the group of cells with the same structure in RDLC report?

I have an RDLC report and want to add the group of cells with the same structure as in red rectangle next to the right?
I can easily add the whole column, but third, fourth and fifth rows don't contain 2 cells. There's only one empty cell.
Please, take a look at the screen shot attached.
You need to add two columns to the right, and then merge two cells in the "header" rows by clicking on the first cell, pressing Shift key and then selecting the second cell. "Merge" option will be available on right-click for those two cells then as long as you are still holding Shift key.

Highlight Date Value but not when it is NULL

Under Property Editor in the Highlights tab I have used this syntax:
1 Less than or Equal BirtDateTime.diffDay(row["GEN_SAFETY"],BirtDateTime.today())
Background color is set to GREEN, but I don't want a highlight if the date is NULL.
How can I accomplish that in the syntax?
I'm not familiar with Plateau Report Designer. In BIRT, it's pretty straightforward. In the Property Editor, you have a Highlight tab, and you add your highlight and set your conditions.
If I'm understanding your question:
You have your background set to green by default.
If your GEN_SAFETY field is today or before, you want it blue.
If there is no date, you want it white.
So you would add two highlights.
The first you already have.
The second would be something along the lines of:

Highlight the row in excel mac 2011 when a cell has a specific word

In Excel 2011 Mac (it seems to be important since other referenced solutions in stackoverflow for excel windows or mac older versions don't seem to work).
I want to apply conditional formatting so when a cell in column D includes a word "student" the full row which includes the cell gets a color format (blue color for the text white/empty filling for the cell).
I have tried INDIRECT and some other formulas but I don't get it right. Only the cell that includes the word gets the formatting, not the whole row (that is, the rest of the cells on the same row where the pattern matches).
Admittedly, this answer is based on the Windows version but it should still work for you.
(Pictures taken from mix of Windows and Mac versions where possible.)
Select Manage Rules... from the Conditional Formatting menu.
Click the New Rule... button.
Select Use a formula to determine which cells to format, enter the formula as shown below, and then click the Format... button to choose your conditional format (blue text with no fill).
- You said you were looking for the word "student" in column D, and I have assumed that row 3 is the first row that you want this conditional formatting to be applied. Just change the 3 to another row number if this is not the case.
If the word "student" is not the only thing in your target cell, then use the following formula instead:
=ISNUMBER(SEARCH("student",$D3))
Then type a range into the Applies to textbox as shown.
- In this example, we assume that row 3 is the first row and row 400 is the last row that you want the conditional formatting to be applied to.
- Note that we did not include column letters in the formula since we want every column of each row to be included.
Click OK and you should be done.
I hope this works for you.
Follow these steps for conditional formatting.
Step 1 - Select Conditional Formatting > New Rule...
Step 2 - Select Style Dropdown
Step 3 - Choose Classic
Step 4 - Select Dropdown with Format only top or bottom ranked values
Step 5 - Select from Dropdown Use a formula to determine which cells to format
Step 6 - Highlight desired Cells and take note of the current cell. (D3)
Step 7 - Use formula: =MATCH("Student",D3,0) in the formula section. Again, D3 is the current cell.
Step 8 - Press OK

Cells & cellgroups in mma

This question and the comments and answers prompted this question. How do I effectively use Cells and CellGroups in mathematica? I've always only programmed systematically inside the input cells, entering the next line in a new cell after evaluating the previous. Looking around at the different options available, this seemed inefficient.
How do I use these more effectively? I tried organizing my code into sections using command-5 and into subsections, etc. But then when I try to get back to input cell with command-9, it doesn't evaluate it. I'm sure I'm doing something wrong, so help is appreciated.
Cell groups are just that, a way to group cells together. These groups can be easily selected, executed as one, and opened/closed (collapsed). By default these groups are indicated by a series of blue brackets to the right of the cells:
As seen above, output cells are automatically grouped with the input cell that created them. Also, the Section cell automatically groups the Text, Input, and Output cells below it. Finally the Title cell groups all cells below it, including the Section cell.
The different classes of cells that are available, such as Title, Section, etc., are determined by the active Stylesheet. The way they group is controlled by the option CellGroupingRules. This is a more advanced area, and details are probably better addressed in a different question.
Cell Grouping can be done either automatically, the default, or manually, or to a limited extent by a combination thereof. This is all handled by the menu commands in Cell > Grouping > ... or the keyboard shortcuts listed there.
If using Automatic Grouping, then styling a cell in a style that groups (as controlled by CellGroupingRules) will automatically group "lesser" cells and cell groups beneath it.
To style a cell, select the entire cell, not just the cell contents, by either:
clicking on the blue cell bracket (or the area where it would be if it is hidden)
clicking within the cell and using Alt+. until the entire cell is selected
clicking and dragging from above the cell, where the cursor is horizontal, to below the cell
Then, use menu Format > Style > ..., or the corresponding key combinations.
The same methods can be used to select cell groups, rather than individual cells.
To create a new cell of a particular style:
click outside of existing cells where the cursor is horizontal
this should create a horizontal rule as shown in earlier illustration
specify a style, again with Format > Style > ... or keyboard shortcuts
start typing (or paste) the contents of the new cell
To create a new Input cell, the default style, simply do step (1) and then type or paste the input.
It depends on your stylesheet. Input is not the nineth numbered style in every stylesheet. Also, you have to select the cell bracket to change a cell's style.
I use sections particularly to be able to use folding, i.e. the double clicking on the cell group bracket to hide the lower ranking cells. That makes for a clean document. It doesn't do anything with the Input cells (except for the context option).

Resources