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
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| 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 false | Checks 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 values | Evaluates 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 test | Returns TRUE if all conditions are true; FALSE otherwise | =AND(A1>10, B1<50) |
| NOT | =NOT(logical) | logical: value or expression to negate | Reverses 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 occurs | Returns specified value if formula returns an error; otherwise returns formula result | =IFERROR(A1/B1, "Error") |
Lookup Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| 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 match | Finds 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 match | Similar to VLOOKUP with more flexibility for complex lookup scenarios | =INDEX(C1:C10, MATCH("Apple", A1:A10, 0)) |
Text Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| TRIM | =TRIM(text) | text: text string to clean | Removes leading and trailing spaces from text | =TRIM(" Hello ") |
| CONCATENATE | =CONCATENATE(text1, [text2], ...) | text1-textN: strings to combine | Joins 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 return | Returns 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 return | Returns 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 characters | Returns specified number of characters from text string starting at specified position | =MID("Hello", 2, 3) returns "ell" |
| LEN | =LEN(text) | text: string to measure | Returns 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 search | Finds 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 replace | Replaces 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 code | Formats a number as text with specified formatting | =TEXT(1234.5, "$#,##0.00") returns "$1,234.50" |
| VALUE | =VALUE(text) | text: text string representing a number | Converts a text string that represents a number into a number | =VALUE("123") converts text to number 123 |
Counting Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| COUNTIF | =COUNTIF(range, criteria) | range: cells to count; criteria: condition to meet | Counts cells that meet a specified criterion | =COUNTIF(A1:A10, ">50") |
| COUNTA | =COUNTA(range) | range: cells to count | Counts non-empty cells in a range | =COUNTA(A1:A10) |
Math Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| ROUND | =ROUND(number, num_digits) | number: value to round; num_digits: decimal places | Rounds a number to specified number of digits | =ROUND(1234.5678, 2) returns 1234.57 |
| MIN | =MIN(number1, [number2], ...) | number1-numberN: values to compare | Returns the smallest number in a group of values | =MIN(10, 5, 20) returns 5 |
| MAX | =MAX(number1, [number2], ...) | number1-numberN: values to compare | Returns 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 return | Returns a random integer between specified values (inclusive) | =RANDBETWEEN(1, 100) |
Date Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| TODAY | =TODAY() | (no parameters) | Returns the current date as a serial number | =TODAY() |
Error Checking Formulas
| Formula | Syntax | Parameters | Description | Example |
|---|---|---|---|---|
| IS | =IS.ERROR(), =IS.NUMBER(), etc. | Depends on specific IS function | Checks 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
| Formula | Purpose | Documentation |
|---|---|---|
| BILD.ERSTELLEN | Create a new single image with parameters (description, exclude, size, etc.) | (coming soon) |
| BILDER.ERSTELLEN | Create multiple images in the store | (coming soon) |
| BILD.HOLEN | Retrieve names of all images for a product | (coming soon) |
| BILDER.HOLEN | Retrieve names of all product images | (coming soon) |
| BILD.BEZEICHNUNGHOLEN | Retrieve the label/name of a specific image type (e.g., small) | (coming soon) |
| BILDER.BEZEICHNUNGHOLEN | Retrieve labels of all product images | (coming soon) |
| BILD.URLHOLEN | Retrieve the URL of a specific image type (e.g., small) | (coming soon) |
| BILDER.URLSHOLEN | Retrieve URLs of all product images | (coming soon) |
| BILDER.HINZUFUEGEN | Add additional images to a product that already has images | (coming soon) |
| BILDER.DATEINAMENERSETZEN | Overwrite file names of product images | (coming soon) |
| BILDER.BEZEICHNUNGENERSETZEN | Replace the description (alternative text) of all product images | (coming soon) |
General Formula Utilities
| Formula | Purpose | Documentation |
|---|---|---|
| EINMALFORMEL | Single-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. | (coming soon) |
| IFISEMPTY | Checks if a cell is empty and executes accordingly | (coming soon) |
Related How-To Guides
- How to Create Product Images with Formulas (coming soon)
- How to Use VLOOKUP for Product Data (coming soon)
- How to Combine Multiple Formulas (coming soon)
External References
For detailed Excel formula documentation, refer to the official Microsoft Office support articles: