GEXS Formula
The GEXS
formula opens a selector panel, with the values returned from the specified query. Selected values from the first column are then returned to Excel.
- In Excel, select the cell where the formula is to reside (typically, adjacent to the Cell for Value), then, from the Spreadsheet Server Ribbon, select Formula Builder. The Formula Builder panel appears. Select the formula (GEXS) in the Query Formulas tab.
- Use the following table to enter data in the GEXS panel:
- Click the Browse button to navigate to, and, select the query to be executed.
- Click the SAP Explorer button () to search for, and, select the SAP query (
SQ00
) to be executed (see SAP Explorer for more information). - Click Insert. The formula is inserted into the cell, and the specified Selector Text appears in the cell. The true formula (
GEXS(...)
) can be seen in the Excel formula bar. - To execute the
GEXS
formula, select the cell containing theGEXS
formula, then, from the Spreadsheet Server Ribbon, select Drill Down, or, right-click, and select Spreadsheet Server > Drill Down. The Parameter Selector panel appears. - Data in the list may be filtered, resorted and/or rearranged as necessary.
- To filter data: select the appropriate output column and type filter in the Search box. Alpha fields filter character-by-character. Numeric fields filter on entry of the full field value.
- To resort data: click the column heading to resort a column in ascending order. Click the column heading a second time to resort the column in descending order.
- To move a column: click and hold the desired column header, then drag-and-drop the column left or right, to the desired position.
- In the Output Format panel, specify the appropriate Parameter Type, select the desired value, then click the Insert button. The selected value is returned to the Cell for Value, cell in the spreadsheet.
- To select:
- A single value: double-click the value, or, select the value and click Insert.
- Multiple values: press and hold the Ctrl key, as values are selected.
- Multiple values in a range: select the first value in the range, press and hold the Shift key, then, select the last value in the range.
Field |
Description |
---|---|
GEXS: |
Opens a selector panel, based on query results (see GEXS Formulas for more information). |
Query Name |
|
Worksheet |
Click the drop-down list, and select the worksheet destination for the formula. Defaults to the current active worksheet. |
Starting Cell |
Select the cell where the formula is to reside (typically, adjacent to the Cell for Value). |
Clear/Shift Worksheet |
Specify, when inserting data, whether to overwrite existing cell data in the worksheet, clear all cell data in the worksheet, insert the |
Selector Text |
Specify the label for the |
Cell for Value |
Specify the cell destination for the selected query value(s). |
Use/Parameter |
If selected, the query parameter is included in the formula. |
Note: Column order is important, as only the first column of selected data will be inserted in the formula.
Example
Multiple values for a field to be used by a Smart Parm are selected, and the Insert button is clicked: