- What's the difference between DSTDEV and DSTDEVP?
- DSTDEV calculates sample standard deviation (dividing by n-1), appropriate when your filtered data represents a sample. DSTDEVP calculates population standard deviation (dividing by n), used when your filtered data is the complete population. Choose based on whether your records represent a subset or the full dataset.
- How do I filter by multiple conditions at once with DSTDEV?
- Use AND logic by placing multiple criteria in the same row: put the column names (Department, Status) as headers across columns, then put the matching values (Sales, Active) in the row below. All criteria in a row must match for a record to be included. Use multiple rows for OR logic (either condition).
- Why does DSTDEV return an error when my criteria match only one record?
- Sample standard deviation requires at least two values to calculate variation. With only one record, there's no spread to measure. Either broaden your criteria to include more matching records, or use DSTDEVP if you're calculating population variation.
- Can I use date or numeric comparisons like 'greater than' in DSTDEV criteria?
- Yes, DSTDEV supports comparison operators (>, <, >=, <=, =, <>) in the criteria range for numeric and date columns. Enter the operator with the value, such as ">2020-12-31" to find dates after that date or ">50000" for salaries above that threshold.