Add an alert function to the cross table screen

In the cross table screen, data that needs to be processed urgently can be displayed in red.

Here, as an example, a function is added to the Sales by Branch Offices sheet that displays in red when the sales result is less than 100.

App Operation

Cells with sales results less than 100 are displayed in red.

../../../../../_images/img_00.en5.png

Customization procedure

Change screen layout

Set the threshold to display alerts on the screen.
  1. Login to CELF and click the "Manage" button to open the Management screen.
../../../../../_images/img_01.en78.png

Tip

The "Manage" button appears when you are logged in as anadministrator.

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en78.png
  1. Double-click the menu sheet.
../../../../../_images/img_03.en63.png

Hint

A sheet with the name "[app name]_menu" is a menu sheet.

  1. Click the img_sheet_setting_button button in the sheet setting category.
../../../../../_images/img_04.en57.png
  1. Add one sheet column.
../../../../../_images/img_05.en53.png
  1. Enter the threshold in the first line of the rightmost column of the sheet.
../../../../../_images/img_07.en38.png

Hint

In this example, enter "100" to "Display in red if it is less than 100".

  1. Right-click the column heading in the column where you entered the threshold and select "Hide".
../../../../../_images/img_09.en26.png
  1. Save and close the sheet.
../../../../../_images/img_46.en.png

Change the action to show rows that exceed the threshold in red

Edit the "Sheet initialization" and "Data Search" actions in the Cross Table screen to add an alerting feature.
The following figure shows the process flow of adding the alert function to the "Sheet initialization"' and "Data Search" actions.
../../../../../_images/img_48.en.png

The modifications are as follows

[1] Initialize the formatting of a cell in a table section
Initialize the formatting of the cells in the table section.
This process is to avoid leaving the previous alert display on the second data search.

[2] Alert display settings
Configure the alert display settings.
Processes the number of rows and columns in the cross table for the number of blocks and determines if the "Sales Results" value is below the threshold.
If it is below the threshold, change the cell format in which the data is displayed.

Now, the steps below will show you how to actually modify the action set.

Open the action set on the cross table screen.

  1. Login to CELF and click the "Manage" button to open the Management screen.
../../../../../_images/img_01.en78.png

Tip

The "Manage" button appears when you are logged in as anadministrator.

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en78.png
  1. Double-click on the main sheet.
../../../../../_images/img_13.en15.png
  1. Click the img_edit_action_button button.
../../../../../_images/img_14.en13.png

Initializing Cross Table Cell Formatting

  1. Double-click on the "Sheet initialization" action set.
../../../../../_images/img_15.en13.png
  1. Select the "Set cell format" action from the "Cells" tab and add it to the top of the action set.
../../../../../_images/img_16.en13.png

Hint

The area where you can add an action will change to orange. Make sure the color of the area you want to add changes and then release the mouse button.
../../../../../_images/img_0044.en.png
  1. Click the cell selection button for the added "Set cell format" action.
../../../../../_images/img_17.en11.png
  1. Select the area of the table.
../../../../../_images/img_18.en11.png

Hint

Select the first row of the table from the start to the end column of the table.

  1. Click the "Set" button.
../../../../../_images/img_19.en11.png
  1. Click the "Format" button for the added "Set cell format" action.
../../../../../_images/img_20.en10.png
  1. Edit the item in the "Number" tab as follows
  • Category: Number
  • Use (,) for digit separator: Checked
  • Negative number display format: (1234)
../../../../../_images/img_21.en8.png
  1. Edit the item in the "Alignment" tab as follows
  • Horizontal : Align text Right (indent)
../../../../../_images/img_22.en7.png
  1. Edit the items in the "Font" tab as follows
  • Font: Yu Gothic UI
../../../../../_images/img_23.en5.png
  1. Edit the "Lines" item on the "Borders" tab as follows.
  • Color: Grey
../../../../../_images/img_24.en6.png
  1. Click the "Presets" item below on the "Borders" tab.
  • Preset: Outline
../../../../../_images/img_25.en5.png
  1. Click the "OK" button.
../../../../../_images/img_26.en2.png

Hint

The formatting is now complete.

../../../../../_images/img_27.en4.png

Tip

If you find non-numeric items in the area you set up in step 8, you need to add the following actions.
Example: If the "Difference" item in the table is in string format
  1. From the "Cells" tab, add the "Set cell format" action under the action you added in step 2.
  2. In the cell you want to format, set the "Difference" cell for 12 months.

Hint

You can select multiple cells by selecting them while holding down the Ctrl key.

  1. Specify the "Categorization" item in the "Number" tab as a string.

Hint

For the other items, set up in the same way as steps 12. to 16.

../../../../../_images/img_45.en.png
  1. Click the "OK" button on the "Sheet initialization" action set.
../../../../../_images/img_28.en4.png

Add an alert function to the cross table screen

  1. Double-click on the "Data Search" action set.
../../../../../_images/img_29.en4.png
  1. Select the "Determine condition" action from the "Control" tab and add it by dragging and dropping it under the "Set value to cell" action.
../../../../../_images/img_30.en4.png

Hint

Set the data that matches the aggregate record IDs to the display area.

  1. Enter "=INDIRECT( ADDRESS([sheet name]_control(action)!B6, [sheet name]_control(action)!B9 + 1, 4) ) < [app name]_menu!H1" in the branch condition of the "Determine condition" action.
../../../../../_images/img_33.en3.png

Hint

This formula is complex, so please copy and paste it from the description above and make appropriate changes.
The meaning of the formula is explained in the "Side note" section below, if you’re interested.

Hint

The example shows the condition of a cell with a red background: "If the sales performance of the row is less than the threshold".
../../../../../_images/img_47.en.png
"[sheet name]!B6" and "[sheet name]!B9" indicate
the target row address and target column address.

The "[app name]_menu!H1" is the address of the threshold cell set in Change screen layout.
../../../../../_images/img_07.en38.png
  1. Select the "Set cell format" action from the "Cells" tab and drag and drop it onto the "If ~ then" part of the "Determine condition" action you added.
../../../../../_images/img_34.en3.png
  1. In the cell entry field of the added action, copy the formula entered in the cell that sets the value of the previous "Set value in cell" action.
../../../../../_images/img_35.en1.png

Hint

Set the data that matches the aggregate record IDs to the display area.

  1. Click the "Format" button for the added "Set cell format" action.
../../../../../_images/img_36.en.png
  1. Edit the item in the "Number" tab as follows
  • Category: Number
  • Use (,) for digit separator: Checked
  • Negative number display format: (1234)
../../../../../_images/img_21.en8.png
  1. Edit the item in the "Alignment" tab as follows
  • Horizontal : Align text Right (indent)
../../../../../_images/img_22.en7.png
  1. Edit the items in the "Font" tab as follows
  • Font: Yu Gothic UI
../../../../../_images/img_23.en5.png
  1. Edit the "Lines" item on the "Borders" tab as follows.
  • Color: Grey
../../../../../_images/img_24.en6.png
  1. Edit the "Presets" item on the "Borders" tab as follows.
  • Preset: Outline
../../../../../_images/img_25.en5.png
  1. In the "Fill" tab, edit the "Cells shading color" item as follows
  • Cells shading color: red
../../../../../_images/img_37.en.png
  1. Click the "OK" button.
../../../../../_images/img_38.en.png

Hint

The formatting is now complete.

../../../../../_images/img_39.en.png
  1. Copy the added "Set cell format" action by dragging and dropping it into the "otherwise" part of the "Determine condition" action.
../../../../../_images/img_40.en.png

Hint

You can copy an action by dragging and dropping it while holding down Ctrl.

  1. Click the "Format" button on the copied "Set cell format" action.
../../../../../_images/img_41.en.png
  1. In the "Fill" tab, edit the "Cells shading color" item as follows
  • Cells shading color: No color
../../../../../_images/img_42.en.png
  1. Click the "OK" button.
../../../../../_images/img_43.en.png

Hint

The formatting is now complete.

../../../../../_images/img_44.en.png
  1. Click the "OK" button on the action set.
../../../../../_images/img_28.en4.png

Completed.

See also

Similar functionality can be added to other sheets.
To add it to the header search screen sheet, see "Add an alert display function on the header search screen".
To add to the list sheet, see "Add alert display function to list screen".
To add to a single sheet, see "Add alert display function to single-cut screen".