GS

Business Analytics Functions

1. Basic Functions

  • IF(logical_test, value_if_true, value_if_false)

    • What it does: Returns different values based on a condition.

    • Application: =IF(A1>10, "High", "Low") → If A1 is greater than 10, returns "High"; otherwise, "Low".

    • Interpretation: Used for conditional logic in formulas.

  • SUMPRODUCT(array1, [array2], ...)

    • What it does: Multiplies corresponding elements and returns the sum.

    • Application: =SUMPRODUCT(A1:A3, B1:B3) → Multiplies A1B1 + A2B2 + A3*B3.

    • Interpretation: Used for weighted calculations.

  • INDEX(array, row_num, [column_num])

    • What it does: Returns the value at a specified row and column in an array.

    • Application: =INDEX(A2:A8, 3) → Returns the third value in A2:A8.

    • Interpretation: Used for retrieving specific data.

  • MATCH(lookup_value, lookup_array, [match_type])

    • What it does: Finds the position of a value in a range.

    • Application: =MATCH(50, A1:A10, 0) → Returns position of 50 in A1:A10.

    • Interpretation: Often used with INDEX for advanced lookups.

2. Lookup Functions

  • VLOOKUP(lookup_value, table_array, col_index, [range_lookup])

    • What it does: Searches for a value in the first column of a table and returns a value in the same row from another column.

    • Application: =VLOOKUP(102, A2:C10, 2, FALSE) → Looks up 102 in column A and returns the corresponding value from column 2.

    • Interpretation: Used for vertical lookups in large tables.

  • HLOOKUP(lookup_value, table_array, row_index, [range_lookup])

    • What it does: Similar to VLOOKUP but searches horizontally.

    • Application: =HLOOKUP("Q1", A1:D3, 2, FALSE) → Finds "Q1" in row 1 and returns corresponding value from row 2.

    • Interpretation: Used when data is structured in rows rather than columns.

  • XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

    • What it does: More flexible than VLOOKUP and HLOOKUP.

    • Application: =XLOOKUP(102, A2:A10, B2:B10, "Not Found") → Looks for 102 in column A and returns the corresponding value from column B.

    • Interpretation: Can search in any direction and handles errors better.

3. Regression & Forecasting Functions

  • SLOPE(known_y's, known_x's)

    • What it does: Returns the slope of the best-fit line in regression analysis.

    • Application: =SLOPE(B2:B10, A2:A10) → Finds slope of y-values in B2:B10 against x-values in A2:A10.

    • Interpretation: Shows how much y changes with a unit change in x.

  • INTERCEPT(known_y's, known_x's)

    • What it does: Returns the y-intercept of the best-fit line.

    • Application: =INTERCEPT(B2:B10, A2:A10) → Finds where the regression line crosses the y-axis.

    • Interpretation: Represents the baseline value when x = 0.

  • RSQ(known_y's, known_x's)

    • What it does: Returns the R-squared value, a measure of how well data fits a regression line.

    • Application: =RSQ(B2:B10, A2:A10) → Calculates goodness-of-fit.

    • Interpretation: Values close to 1 indicate a strong relationship.

  • CORREL(array1, array2)

    • What it does: Returns the correlation coefficient between two datasets.

    • Application: =CORREL(A2:A10, B2:B10) → Measures the strength of the relationship.

    • Interpretation: Values close to 1 or -1 indicate strong correlation.

  • FORECAST.LINEAR(x, known_y's, known_x's)

    • What it does: Predicts a future value based on existing data.

    • Application: =FORECAST.LINEAR(20, B2:B10, A2:A10) → Predicts y-value for x = 20.

    • Interpretation: Used for trend forecasting.

4. Optimization & Solver Functions

  • SUM(A1:A10)

    • What it does: Adds values in a range.

    • Application: =SUM(A1:A10) → Adds all values from A1 to A10.

    • Interpretation: Used to calculate total costs, revenues, etc.

  • Solver (Add-in required)

    • What it does: Finds optimal solutions for decision-making problems.

    • Application: Used for maximization/minimization problems like profit optimization.

    • Interpretation: Generates Answer Report (optimal values) and Sensitivity Report (impact of changes in constraints).

5. What-If Analysis Tools

  • Goal Seek

    • What it does: Finds the input value needed to achieve a specific output.

    • Application: Set Cell = C10, To Value = 1000, By Changing Cell = A1.

    • Interpretation: Used for reverse calculations (e.g., break-even analysis).

  • Data Tables (One-Way & Two-Way)

    • What it does: Analyzes different scenarios by changing input values.

    • Application: Allows users to see how profit changes based on price changes.

    • Interpretation: Helps in financial modeling.

  • Scenario Manager

    • What it does: Stores multiple sets of input values.

    • Application: Comparing best-case, worst-case, and expected scenarios.

    • Interpretation: Useful in strategic planning.

6. Pivot Tables

  • Creating a Pivot Table

    • What it does: Summarizes large datasets dynamically.

    • Application: Drag and drop fields into Rows, Columns, Values, and Filters.

    • Interpretation: Used for grouping, sorting, filtering, and summarizing data.