Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenGround | gINT | Keynetix
  • Product Communities
OpenGround | gINT | Keynetix
gINT | Keynetix Wiki Excel Functions
    • Sign In
    • -gINT | Keynetix Wiki
      • +gINT
      • +gINT Collector
      • +gINT Civil Tools
      • -Keynetix
        • +Installing or Upgrading to CONNECT Edition
        • +Archive Webinars
        • +HoleBASE
        • +HoleBASE Civil Extension
        • +HoleBASE Data Entry
        • +HoleBASE Excel Extension
        • -HoleBASE Template Studio
          • +HoleBASE Template Studio:Getting Started
          • -Template Studio: FAQs
            • +Designing Depth Related Areas
            • -Expressions
              • Excel Functions
              • How To Display a Full Location Type Rather than an Abbreviation
              • How To edit the Stratum Detail Descriptions to include the depth information
              • How to show top and base levels in the 'level' column.
              • How To use Text Styling to Make part of the Geology Description Bold
              • Is there a common list of requested Expressions available?
              • Log Only Functions
              • Mathematical Functions
              • My Expression in Template Studio shows the wrong date
              • Run Time Functions
              • Text Styling
              • Why do the numbered remarks in my data not appear on new lines on my templates?
            • +Loading and Saving Templates
          • +HoleBASE Template Studio:How Tos
          • +HoleBASE Template Studio:Issues
          • HoleBASE Template Studio Release Notes
        • +KeyAGS
        • +KeyLAB
        • +Keynetix Component Downloads
        • +Working from Home with Keynetix Products
        • Hardware Specifications and Recommendations
        • Supported Platforms

     
     Questions about this article, topic, or product? Click here. 

    Excel Functions

    Function

    Description

    Example

    concatenate

    Adds text strings together. Any number of arguments can be specified when multiple strings need to be concatenated.

    concatenate(value,value)

    concatenatewith

    Adds any string of values together (can be any kind of value). Any number of arguments can be specified when multiple values need to be joined together.

    concatenatewith(<delimitr,value1,value2,etc)

    trim

    Removes leading and trailing whitespace from a string.

    trim(value)

    if

    Evaluates the condition and returns a value depending on its result.

    if(expression, True value, False value)

    in Returns whether an element is in a set of values. in(expression, value1, value2, value3)

    text

    Converts any value to its string representation. Optional arguments can be used to specify the format.

    Version 1.26.0.X and higher versions of HoleBASE now support the processing of null values.

    text(value)

    text(value, format)

    value

    Attempts to convert a given value to its numeric equivalent. This is useful when a function requires a numeric typed argument and only a string is available.

    value(string)

    mid

    Extracts a substring at a given position within a string. The position and length cannot exceed the number of characters which the string has. Position is 0-indexed. 

    mid(string, start position, length)

    left

    Extracts the substring from the beginning of a string with a specific length.

    left(string, length)

    right

    Extracts the substring from the end of a string with a specific length.

    right(string, length)

    find

    Locates the position of a substring within a string. The initial search position begins the search at a specific index.

    find(substring, string, start position)

    search

    Locates the position of a substring within a string. The initial search position begins the search at a specific index. This is an alias for find().

    search(substring, string, start position)

    replace

    Replaces all occurrences of a substring with an alternate value.

    replace(string, old, new)

    substitute

    Replaces all occurrences of a substring with an alternate value. This is an alias for replace()

    substitute(string, old, new)

    chr

    Returns the character for an ASCII value. For example 97 returns 'a'.

    chr(97)

    not

    Inverts the Boolean truth of an argument. If the argument is not a Boolean, false is returned.

    not(True)

    and

    Returns the truth of applying the logical AND operator on Boolean arguments.

    if('a'='a' and 'b'='b','Yes','No')

    or

    Returns the truth of applying the logical OR operator on Boolean arguments.

    if('a'='a' or 'b'='b','Yes','No')

    exact

    Returns True if two string arguments are identical. Otherwise, False is returned.

    exact(string, string)

    fixed

    Returns a numeric value to a fixed number of decimal places. An option exists to include commas if required.

    fixed(value, decimal places, false)

    len

    Determines the length of a string.

    len(string)

    isblank

    Determines whether a parameter is blank / empty or null. This checks whether a cell has whether a cell has no value or is empty.

    isblank(value)

    isnumber

    Determines if a value is numeric.

    Version 1.26.0.X and higher versions of HoleBASE now support the processing of null values as False.

    isnumber(value)

    isnull

    Determines if a value is 'null'. A null value indicates the absence of a value.

    isnull(value)

    numberordefault

    Returns a specified value if it does not equal null. If the value is null, a default value is returned instead.

    numberordefault([SPT.NValue],0)

    now

    Returns the current date and time.

    now()

    text(now(),'dd/MM/yyyy')

    text(now(),'HH:mm')

    today 

    Returns the current date and time.

    An alias for now().

    today ()

    text(today (),'dd/mm/yyyy')

    text(today (),'HH:mm')

    • Share
    • History
    • More
    • Cancel
    • Stephen Evason Created by Bentley Colleague Stephen Evason
    • When: Fri, Jun 26 2020 4:47 AM
    • Jesse Greenwald Last revision by Bentley Colleague Jesse Greenwald
    • When: Thu, Jul 15 2021 7:48 PM
    • Revisions: 6
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies