This article contains the list of functions currently supported by QuickMap. Most of these functions are identical with or similar to Excel so that they're as familiar as possible.
String Functions
CONCATCONCAT(list, separator)
Combines a list of values into a string.
CONTAINSCONTAINS(list, value)
Returns true if the specified list contains the specified item.
FINDFIND(findText, withinText, caseSensitive)
Returns the starting position of one text string within another string.
FORMATTEXTFORMATTEXT(value, items)
Replaces tags in a string with values. Eg. FORMATTEXT("Hello {0} ", "World")
ISTEXTISTEXT(value)
Returns true if the specified value is a string.
LEFTLEFT(value, numChars)
Returns the leftmost numChars of a string.
LEFTOFLEFTOF(value, text)
Returns the string left of text
LOWERLOWER(value)
Converts a string to lower case.
MIDMID(value, start, numChars)
Returns a portion of a string beginning at start and extending for numChars.
MIDOFMIDOF(value, startString, endString)
Returns the text of value between startString and endString
REPLACEREPLACE(value, find, replaceWith)
Replaces a portion of string with another string.
RIGHTRIGHT(value, numChars)
Returns the rightmost numChars of a string.
RIGHTOFRIGHTOF(value, text)
Returns the string right of text
SPLITSPLIT(list, separator, asNumber)
Splits a string of delimited values into an array.
TEXTVALUETEXTVALUE(value)
Converts a value to a string.
TRIMTRIM(value)
Trims leading and trailing spaces from a string.
UPPERUPPER(value)
Converts a string to upper case.
Math & Numeric Functions
AVERAGEAVERAGE(list)
Returns the average value of a list of numbers.
FORMATNUMBERFORMATNUMBER(value, numberFormat)
Formats a number according to numberFormat. Eg. FORMATNUMBER(12.345, "0.00")
ISNUMBERISNUMBER(value)
Returns true if the specified value is a number. Note that this will return false if the value is a number contained in a string.
NUMBERVALUENUMBERVALUE(value)
Converts a value to a number.
RANDRAND()
Returns a random number between 0 and 1.
ROUNDROUND(value, numDigits)
Rounds a number to the specified number of digits.
SUMSUM(list)
Returns the sum of a series of numbers.
CINTCINT(value)
VB function that returns an integer number without decimal places.
Date & Time Functions
DATEDIFDATEDIF(startDate, endDate, unit)
Returns the difference between two dates according to the unit specified. Valid units are y
, M
, d
, h
, m
, s
DATEVALUEDATEVALUE(value, dateFormat)
Converts a string representation of a date to a date type. dateFormat components include yyyy
, MM
, dd
, hh
mm
, ss
DAYDAY(value)
Returns the day of the month part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
FORMATDATEFORMATDATE(value, dateFormat)
Formats a date according to the specified format string.
HOURHOUR(value)
Returns the hour part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
MINUTEMINUTE(value)
Returns the minute part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
MONTHMONTH(value)
Returns the month of the year part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
NOWNOW(timeZone)
Returns the current UTC date and time or if timeZone is supplied, returns the current local date and time for the time zone. See List of Supported Timezones for more information.
SECONDSECOND(value)
Returns the second part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
WEEKDAYWEEKDAY(value)
Returns the day of the week of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
YEARYEAR(value)
Returns the year part of the date expression. Convert the expression to a date using DATEVALUE()
first to ensure accurate results.
Evaluation Functions
IIFIIF(condition, trueValue, falseValue)
Checks whether a condition is met and returns the value specified in trueValue if TRUE, otherwise falseValue if FALSE.
ISEMPTYISEMPTY(value)
Returns true if the value specified is empty or null.
Type-Independent Aggregator Functions
COUNTCOUNT(list)
Returns the number of items in a list.
FIRSTFIRST(value)
Returns the first value in an array of values.
INDEXINDEX(value, position)
Returns the item at the specified position in the given array.
INDEXOFINDEXOF(element)
Returns the index of a container in a list of containers. The 'element' parameter should be a container element.
MAXMAX(list)
Returns the highest value in the list. Can be used on numbers and text.
MINMIN(list)
Returns the lowest value in the list. Can be used on numbers and text.
Miscellaneous Functions
GUIDGUID()
Returns a GUID (UUID).
GETVALUEGETVALUE(propertyName)
Gets the value of a Custom Property.
LOOKUPLOOKUP(value, lookIn, keyProperty, valueProperty, defaultValue)
If lookIn
is the name of a Custom Property, finds a container where keyProperty
is value
and returns the value of the property valueProperty
.
If lookIn
is a container in the main document, finds a child container where keyProperty
is value
and returns the value of the property valueProperty
.
See https://flowgear.me/s/MrMeMQR for an example.
If no match is found, an error results unless a value has been provided for defaultValue.