Excel

VBA / Office

Why Excel week numbers shift around the New Year: Differences between WEEKNUM and ISOWEEKNUM

Review why Monday-start WEEKNUM and ISO week numbers differ around the New Year using formulas for five specific dates and their corresponding years.
VBA / Office

Why Excel's DAYS Function Returns a Negative Date Difference: Detecting Reversed Start and End Dates

When Excel's DAYS function yields a negative date difference, we inspect the start date, end date, and argument order using three hypothetical rows.
VBA / Office

Safely Counting Filtered Visible Rows Using SpecialCells in Excel VBA

How to count product codes visible after applying a filter in Excel VBA. By checking visible cells using SpecialCells, EntireRow.Hidden and IsError are used to distinguish zero counts and cell errors.
VBA / Office

Converting International Numerical Formats in Excel Using NUMBERVALUE: Specifying Decimal and Digit Separators

Convert strings with different decimal and digit separators into numbers using Excel's NUMBERVALUE function. Review missing values, zeros, thousand-fold discrepancies caused by incorrect separators, and verification before aggregation using a mock statement.
VBA / Office

Finding rows where Excel formulas were overwritten with numeric values: ISFORMULA and conditional formatting

Inspect invoice line items in Excel where formulas were overwritten with static values using ISFORMULA and conditional formatting. Explains differences from recalculation variances, blank inputs, and formula correctness using fictitious invoice line items.
VBA / Office

Counting Product Codes with Case Sensitivity in Excel

Combine EXACT and SUMPRODUCT in Excel to aggregate counts and quantities with case sensitivity. Explains the differences from COUNTIF, helper columns, blanks, and error handling.
VBA / Office

Differentiating Between Unspecified and Zero in Excel's ISOMITTED: Safely Designing LAMBDA Default Values

Distinguishing optional arguments from zero using Excel's LAMBDA and ISOMITTED functions. Prevent the misapplication of default discount rates with a concise formula explaining named ranges, errors, and validation methods.
VBA / Office

What happens when Excel's FILTER function returns 0 results? Testing the difference between #CALC! and empty strings

Explaining why FILTER returns #CALC! for 0 results, the difference from using an empty string as the third argument, and a safe experiment using COUNTIF to isolate result counts.
VBA / Office

Counting "*" and "?" as characters in Excel's COUNTIF: How to use tildes and potential pitfalls

Comparing COUNTIF wildcards (*, ?) and the escape character (~) using a fictitious product table. Explains exact matches, partial matches, and troubleshooting failures.
VBA / Office

Enumerating all matches with Range.FindNext in Excel VBA and stopping at the first cell

Enumerating all matches with Range.Find/FindNext in Excel VBA and stopping when returning to the first cell. A read-only example checking 0, 1, and 2 matches using a fictional P101 table.