excel function - cimtops-support.com

27
2015.01.16 EXCEL function

Upload: others

Post on 27-Apr-2022

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EXCEL function - cimtops-support.com

2015.01.16

EXCEL function

Page 2: EXCEL function - cimtops-support.com

Revision history

Page 3: EXCEL function - cimtops-support.com

Table of Contents

• Applicable EXCEL functions

Logical

Statistical

Math and Trigonometry

Lookup and Reference

Text

• Nesting calculation formula

• Calculation of Date and Time

• Displaying calculation result of Date/Time

• Calculation result of data form

• Old format and new format calculation clusters

• Change of calculation cluster from old format to new format

• EXCEL calculation rule in ConMas i-Reporter

• Example of EXCEL function use VLOOKUP function set-up procedure

Page 4: EXCEL function - cimtops-support.com

Logical

Applicable Logical functions.

1 IF Checks whether a conditions is met, and returns one value if TRUE, and another value if FALSE.

2 IFERROR Returns value_if_error if expression is an error and the value of the expression itself otherwise.

Page 5: EXCEL function - cimtops-support.com

3 AVEDEV Returns the average deviation.

4 AVERAGE Returns the average of its arguments.

5 AVERAGEA Returns the average of its arguments. Arguments can be logical values.

6 AVERAGEIF Find average for the cells specified by a given condition.

7 AVERAGEIFS Find average for the cells specified by a given set of conditions.

8 COUNT Counts the number of cells in a range that contain numbers.

9 COUNTA Counts the number of cells in a range that are not empty.

10 COUNTBLANK Counts the number of empty cells in a specified range of cells.

11 COUNTIF Counts the number of cells within a range that meet the given condition.

12 MAX Returns the largest value in a set of values. Ignores logical values and text.

13 MAXA Returns the largest value in a set of values. Does not ignore logical values and text.

14 MEDIAN Returns the median, or the number in the middle of the set of given numbers.

15 MIN Returns the smallest number in a set of values. Ignores logical values and text.

16 MINA Returns the smallest number in a set of values. Does not ignore logical values and text.

Statistical (1/2)

Applicable Statistical functions.

Page 6: EXCEL function - cimtops-support.com

17 MODE Returns the most frequently occurring, or repetitive, value in an array or range of data.

18 PERCENTRANK Returns the rank of a value in a data set as percentage of data set.

19 STDEV Estimates standard deviation based on a sample.

20 STDEVA Estimates standard deviation based on a sample. Also includes logical values and text.

21 STDEVP Calculates standard deviation based on the entire population given as arguments.

22 STDEVPA Estimates standard deviation based on a sample. Also includes logical values and text.

Statistical (2/2)

Page 7: EXCEL function - cimtops-support.com

23 ABS Returns the absolute value of a number.

24 ROUND Rounds a number to a specified number of digits.

25 ROUNDDOWN Rounds a number down, toward zero.

26 ROUNDUP Rounds a number up, away from zero.

27 SUM Adds all the numbers in a range of cells.

28 SUMIF Adds the cells specified by a given condition.

29 SUMIFS Adds the cells specified by a given set of conditions.

Math and Trigonometry

Applicable Math and Trigonometry functions.

Page 8: EXCEL function - cimtops-support.com

30 LOOKUP Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility.

31 VLOOKUP Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify.

32 AREAS Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell.

Lookup and Reference

Applicable Lookup and Reference functions.

Page 9: EXCEL function - cimtops-support.com

33 ASC Changes full-width (double byte) text to half-width (single byte) text.

34 CONCATENATE Joins several text strings into one text string.

35 LEFT Returns the specified number of characters from the start of a text string.

36 LEN Returns the number of characters in a text string.

37 MID Returns the characters from the middle of a text string, given a starting position and length.

38 RIGHT Returns the specified number of characters from the end of a text string.

Text

Applicable Text functions.

Page 10: EXCEL function - cimtops-support.com

Calculation of Date and Time

Date and time are calculated using serial values.

■Serial value

January 1, 1900 is taken as "1" and the total number of days and times since then are expressed in numbers.The number "1" is calculated as one day, and the time is expressed as "1" converted into 24-hour time decimal values.

"January 1, 1900" → Serial number "1""January 5, 1900" → Serial number "5""January 1, 2015" → Serial number "42005"

"00:00:00" → Serial number "0.0""12:00:00" → Serial number "0.5""21:00:00" → Serial number "0.875"

Page 11: EXCEL function - cimtops-support.com

Displaying Date/Time Calculation Result

Since date and time are calculated using serial numbers, the calculationresult is also a serial number and is displayed as a number.There, "Calculation result data form" setting was added to input parametersetting of "Calculation formula" cluster. The format of date that in"Calculation result data form" the "Date and time" setting, calculationsresult was specified or time to display.

(Example)

Designer settingOn tablet

Page 12: EXCEL function - cimtops-support.com

Calculation result data form

In setting of Calculation result data form, there is 3 type of "Other" "Date andtime" "Characters column". Each display become following specifications.

■ OtherCalculations display same is carried out. When particularly, no clear display, "Date and time"and "characters column", specify. Calculations result is judged automatic, and display ascharacters column or number value.Therefore, a text string that can be converted into numbers is displayed as a number even ifit is actually text.Moreover, logical values are displayed as True=1 and False=0, respectively.

■Date and time

Calculation result numbers are calculated as serial numbers and then displayed in thespecified format as date or time.If the calculation result is a text string or some other value that cannot be converted intodate and time, an error occurs.

■Text

The calculated is displayed forcibly as characters column. If calculation results were Boolean,in the characters column called "true" or "false" is displayed.If the calculation result is a number, in the case of an infinitely recurring decimal number suchas 1.666666..., it will be rounded according to the setting for the number of decimal placesfor the calculation cluster set in Designer, and converted to text when displayed.

Page 13: EXCEL function - cimtops-support.com

EXCEL calculation rule in ConMas i-Reporter

Specification restrictions of EXCEL calculation in ConMas i-Reporter are summarized below.

Page 14: EXCEL function - cimtops-support.com

Cluster setting required for cells included in Calculation formulas

If the calculation formula in Calculation Formula cluster includes the cell thatthere are no cluster setting on EXCEL, it becomes "#REF" display when uptakingEXCEL to Designer and occurring error. For this reason, cluster setting is requiredfor the cell that is included in Calculation formula cluster.

Cluster setting is required for the cell that is included in Calculation formula cluster.

Page 15: EXCEL function - cimtops-support.com

Patterns that can import cell inforamtion that have not been set as a cluster

Cells that are included in calculation formulas need to be set as a cluster, but thereare exceptions. For the arguments of certain EXCEL functions, the cell values can beimported in ConMas i-Reporter without having cluster setting.

(Applicable EXCEL functions)LOOKUP, VLOOKUP, AVERAGEIF, AVERAGEIFS, COUNTIF, SUMIF, SUMIFSFor above EXCEL functions, cluster setting is not necessary for the rangespecification of argument. (It is possible to cluster setting dare. )

=VLOOKUP(L23,S23:U36,3,FALSE)

Cluster setting is not necessary for this range.It doesn't matter if the cells that set the range are in a separate sheet or outside the print setting area.

Argument specified range.

Page 16: EXCEL function - cimtops-support.com

Types of cluster that cannot be included in Calculation formula

There is cluster type that can not include in calculation formula.

(Types of cluster that cannot be included in Calculation formula)

• Handwriting note• Free whiteboard• FreeDraw• Image• Issue• Inspect• Approve• Action

If the calculation formula is determined to be improper, "#REF" will be displayed.

Page 17: EXCEL function - cimtops-support.com

Text String cannot be treated as numbers

In ConMas i-Reporter, if cluster type that characters column such as keyboards Text clusterare handled was included in calculations formulas, it is not treated as number value. Even iffor this reason, number values as keyboards Text cluster are inputted, being is handled ascharacters column being not number values, and in number value calculation, the argumentsare not used.They are valid in calculation formulas that handle text strings, such as LEFT and RIGHT.

With regard to single choice cluster and QR code cluster, when being made "takes asnumber" setting, it is enabled that be included in calculation. However, if value can notconvert to number value, it is ignored from calculation.

Calculation formula

Calculation formula

Calculation formula

Single Choice

Single Choice

Keyboard Text

Numeric Number

Numeric Number

Numeric Number

Page 18: EXCEL function - cimtops-support.com

Formula Errors

In i-Reporter App., all errors are displayed as "!Formula Error".

Page 19: EXCEL function - cimtops-support.com

Check cluster has always True or False

In ConMas i-Reporter, not input state are handled with regard to check clusters as False. For this reason, check clusters that was involved among calculation Formula is having a value of True-False always.For example in the COUNTA function and so forth, the check clusters are always in a countable status.

Check cluster

Page 20: EXCEL function - cimtops-support.com

Toggle select cluster

toggle select cluster is that can number value setting to each Label, and havingcharacters column and number value both as an internal value. When for this reason,toggle select cluster being dealt with calculation formula, by using EXCEL function, ifhandling as number value, and as character column. Also, if toggle select cluster of notinput state are dealt with number value, it is judged to be "0".

(EXCEL function that treat Toggle select cluster as Text Strings)IF, ASC, CONCATENATE, LEFT, LEN, MID, RIGHT(All EXCEL functions except for the above are treated as number for Toggle select

cluster. )

When treated as a text string, the label is used.

When treated as a number, the value is used.

Page 21: EXCEL function - cimtops-support.com

Differences in processing for merged cells

For merged cells, there is difference between EXCEL and ConMas i-Reporter.In EXCEL, a merged cell is not treated as one cell, and each cells within the rangeis treated individually in calculations.On the other hand, in ConMas i-Reporter, couple cell is calculated as 1 cluster. Bydo so, there is difference in calculation results including COUNTBLANK function, etc.

=COUNTBLANK(N2:AG6)

In EXCEL, the cells in a specified range are counted individually regardless of merged status.

In ConMas i-Reporter, merged cells are counted as one cluster.

Page 22: EXCEL function - cimtops-support.com

Example of EXCEL function useVLOOKUP function set-up procedure

A specific description of usage example of an EXCEL function VLOOKUP.

Page 23: EXCEL function - cimtops-support.com

1. About the VLOOKUP function

■VLOOKUP function

This function searches the values written in the cells of the first column (the leftmost column) of a specified range of cells for a specific value and returns another value on the same row as the search result.For tables on EXCEL, the function can be used to search the table for a specific value and return a value in the table that corresponds to the search result.

Specified range

Specify value to search for in the leftmost column of the specified range.

VLOOKUP function.Here the "Price" of the specified value is returned.

(Example use of the VLOOKUP function)

Row found as a result of the search

Page 24: EXCEL function - cimtops-support.com

2. Sets VLOOKUP function in cell

To import the VLOOKUP function in ConMas i-Reporter, VLOOKUP function must first be described in cell of EXCELsheet.

■Format of the VLOOKUP function

= VLOOKUP(search value, ranges, column numbers, search method)

Search value: specifies the value to be searched in the leftmost column of the specified range.Ranges that performs ranges : search are specified. (ranges that becomes table is specified)Row number: specifies the row number to be shown as the search result (the nth row within the range).Search method: TRUE for approximate value search, FALSE for absolute match search.

Page 25: EXCEL function - cimtops-support.com

3. Specifying the range

In ConMas i-Reporter, there is following specification restrictions for uptaking EXCEL.

- Data in cells that have not been set as clusters cannot be imported.- Data from cells that are outside the range of the printing range setting cannot be imported.

However, certain functions including VLOOKUP are exceptions.The values of the cells used for the second argument of range specification of the VLOOKUP function (specifying the range of the table) can be imported even if they have not been set as a cluster, lie outside the set printing range, or even if they are on a separate sheet.

(Note) The cell data cannot be imported if either the cells within in the range of the table or the sheet on which the table is located are set as hidden.

The table values can be imported even if the table is outside the set printing range.

The table values can be imported even if the VLOOKUP function itself and the table are on separate sheets.

Page 26: EXCEL function - cimtops-support.com

4. Setting the cell having VLOOKUP function into Calculation formula cluster

With the cell having VLOOKUP function selected, from the right-click menu execute "i-Reporter Setting" and under "Select kind of cluster" set the type as "Calculation formula".If the search value is specified as a cell rather than a fixed value, set the required type of cluster for the cell in the same way.

② Add-in starts

③ From "Select kind of cluster" select "Calculation formula" and click on the "OK" button.If the search value is specified as a

cell, set the required type of cluster for the cell in the same way.

① Select the cells describing the VLOOKUP function, and from the right-click menu execute "Select i-Reporter type."

Page 27: EXCEL function - cimtops-support.com

5. Import the EXCEL file into Designer

Save the EXCEL file with the setting performed and import it into Designer.

① Click on "Create a new form" on the top left of Designer.

② Click the "Create a new form from EXCEL file" button and select the EXCEL file that has just been created to import it.

This procedure will enable forms using the VLOOKUP function to be used on a tablet.

③ Save the form once it has been imported successfully into Designer.