Skip to main content

Common Excel Formulas

Reference guide for the most commonly used Excel formulas in cobby. This document provides syntax specifications, parameter descriptions, and examples for quick lookup.

Overview

Excel provides a comprehensive library of formulas for data manipulation, analysis, and formatting. Formulas can be used individually or combined to create complex operations. This reference covers the most essential formulas available in cobby, organized by category.

Logical Formulas

FormulaSyntaxParametersDescriptionExample
IF=IF(logical_test, value_if_true, value_if_false)logical_test: condition to evaluate; value_if_true: value if true; value_if_false: value if falseChecks if a condition is true and returns one value if true, another if false=IF(A1>100, "High", "Low")
IFS=IFS(test1, value1, [test2, value2], ...)test1-testN: conditions to evaluate; value1-valueN: corresponding valuesEvaluates multiple conditions without nesting formulas (up to 127 conditions)=IFS(A1>100, "High", A1>50, "Medium", "Low")
AND=AND(logical1, [logical2], ...)logical1-logicalN: conditions to testReturns TRUE if all conditions are true; FALSE otherwise=AND(A1>10, B1<50)
NOT=NOT(logical)logical: value or expression to negateReverses the logical value (TRUE becomes FALSE, vice versa)=NOT(A1=B1)
IFERROR=IFERROR(value, value_if_error)value: expression to evaluate; value_if_error: value to return if error occursReturns specified value if formula returns an error; otherwise returns formula result=IFERROR(A1/B1, "Error")

Lookup Formulas

FormulaSyntaxParametersDescriptionExample
VLOOKUP=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])lookup_value: value to find; table_array: range to search; col_index_num: column position to return; range_lookup: TRUE/FALSE for exact matchFinds data in a table by searching vertically in the first column=VLOOKUP("Apple", A1:C10, 3, FALSE)
INDEX/MATCH=INDEX(array, MATCH(lookup_value, lookup_array, 0))array: range to return from; lookup_value: value to find; lookup_array: range to search; 0: exact matchSimilar to VLOOKUP with more flexibility for complex lookup scenarios=INDEX(C1:C10, MATCH("Apple", A1:A10, 0))

Text Formulas

FormulaSyntaxParametersDescriptionExample
TRIM=TRIM(text)text: text string to cleanRemoves leading and trailing spaces from text=TRIM(" Hello ")
CONCATENATE=CONCATENATE(text1, [text2], ...)text1-textN: strings to combineJoins two or more text strings into one=CONCATENATE("First", " ", "Last")
LEFT=LEFT(text, num_chars)text: string to extract from; num_chars: number of characters to returnReturns the first specified number of characters from a text string=LEFT("Hello", 3) returns "Hel"
RIGHT=RIGHT(text, num_chars)text: string to extract from; num_chars: number of characters to returnReturns the last specified number of characters from a text string=RIGHT("Hello", 3) returns "llo"
MID=MID(text, start_num, num_chars)text: string to extract from; start_num: position of first character; num_chars: number of charactersReturns specified number of characters from text string starting at specified position=MID("Hello", 2, 3) returns "ell"
LEN=LEN(text)text: string to measureReturns the number of characters in a text string=LEN("Hello") returns 5
FIND=FIND(find_text, within_text, [start_num])find_text: text to find; within_text: text to search in; start_num: character position to start searchFinds a string within another string and returns the starting position (case-sensitive)=FIND("ll", "Hello") returns 3
SUBSTITUTE=SUBSTITUTE(old_text, old_text, new_text, [instance_num])old_text: text containing text to replace; old_text: text to find; new_text: replacement text; instance_num: which occurrence to replaceReplaces specific text in a text string=SUBSTITUTE("Hello", "l", "x") returns "Hexxo"
TEXT=TEXT(value, format_code)value: number to format; format_code: number format codeFormats a number as text with specified formatting=TEXT(1234.5, "$#,##0.00") returns "$1,234.50"
VALUE=VALUE(text)text: text string representing a numberConverts a text string that represents a number into a number=VALUE("123") converts text to number 123

Counting Formulas

FormulaSyntaxParametersDescriptionExample
COUNTIF=COUNTIF(range, criteria)range: cells to count; criteria: condition to meetCounts cells that meet a specified criterion=COUNTIF(A1:A10, ">50")
COUNTA=COUNTA(range)range: cells to countCounts non-empty cells in a range=COUNTA(A1:A10)

Math Formulas

FormulaSyntaxParametersDescriptionExample
ROUND=ROUND(number, num_digits)number: value to round; num_digits: decimal placesRounds a number to specified number of digits=ROUND(1234.5678, 2) returns 1234.57
MIN=MIN(number1, [number2], ...)number1-numberN: values to compareReturns the smallest number in a group of values=MIN(10, 5, 20) returns 5
MAX=MAX(number1, [number2], ...)number1-numberN: values to compareReturns the largest number in a group of values=MAX(10, 5, 20) returns 20
RANDBETWEEN=RANDBETWEEN(bottom, top)bottom: smallest integer to return; top: largest integer to returnReturns a random integer between specified values (inclusive)=RANDBETWEEN(1, 100)

Date Formulas

FormulaSyntaxParametersDescriptionExample
TODAY=TODAY()(no parameters)Returns the current date as a serial number=TODAY()

Error Checking Formulas

FormulaSyntaxParametersDescriptionExample
IS=IS.ERROR(), =IS.NUMBER(), etc.Depends on specific IS functionChecks if an error condition or specific type is present=ISERROR(A1/B1)

cobby Custom Formulas

cobby extends Excel with custom formulas for image and general data management. Custom formulas are available in the Excel function assistant under the cobby category.

Image Management Formulas

FormulaPurpose
BILD.ERSTELLENCreate a new single image with parameters (description, exclude, size, etc.)
BILDER.ERSTELLENCreate multiple images in the store
BILD.HOLENRetrieve names of all images for a product
BILDER.HOLENRetrieve names of all product images
BILD.BEZEICHNUNGHOLENRetrieve the label/name of a specific image type (e.g., small)
BILDER.BEZEICHNUNGHOLENRetrieve labels of all product images
BILD.URLHOLENRetrieve the URL of a specific image type (e.g., small)
BILDER.URLSHOLENRetrieve URLs of all product images
BILDER.HINZUFUEGENAdd additional images to a product that already has images
BILDER.DATEINAMENERSETZENOverwrite file names of product images
BILDER.BEZEICHNUNGENERSETZENReplace the description (alternative text) of all product images

General Formula Utilities

FormulaPurpose
EINMALFORMELSingle-use formula that executes once and removes itself after saving. Reduces processing time by transmitting only values to the system instead of formulas. Useful when creating new products with many linked formulas.
IFISEMPTYChecks if a cell is empty and executes accordingly

External References

For detailed Excel formula documentation, refer to the official Microsoft Office support articles: