Function Problems

How to Average Excel Cells While Treating Blanks as 150 in WPS Office Spreadsheets

Maira MehtabMaira Mehtab Nov 13, 2026 870 views

Question details

The user needs to calculate an average or sum in a range while treating every genuinely blank cell as the value 150.

How to Average Excel Cells While Treating Blanks as 150
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user has a numeric range that contains blank cells and wants those blanks included in the average or sum as 150 instead of being ignored or counted as zero.
Observed behavior
Standard AVERAGE and SUM functions ignore truly blank cells, so the result does not reflect the intended 150 value for blanks.
Before you start

Identify the range to evaluate and confirm that the cells you want to treat as 150 are genuinely empty, because cells containing spaces or zero-length strings are not detected by ISBLANK.

Solution 1Recommended

Calculate the Average Treating Blank Cells as 150

Use this formula when you want the average of a range and every blank cell must contribute 150.

The IF(ISBLANK(A1:A4),150,A1:A4) part returns 150 for each blank cell and the original value for each non-blank cell. AVERAGE then calculates the mean of that resulting set.

1
Select a result cell

Click an empty cell where you want the average result to appear.

2
Enter the AVERAGE, IF, and ISBLANK formula

Type =AVERAGE(IF(ISBLANK(A1:A4),150,A1:A4)) and replace A1:A4 with your actual data range.

3
Confirm the formula

Press Enter in WPS Office, Microsoft 365, or Excel 2021. If your spreadsheet version does not automatically spill dynamic arrays, press Ctrl+Shift+Enter.

Calculate the Average Treating Blank Cells as 150
Average calculated with blanks as 150: The formula returns the average after replacing every truly blank cell with 150.
WPS Spreadsheets formula solution

Use WPS Spreadsheets to Average Blank Cells as 150

WPS Office Spreadsheets supports the same AVERAGE, IF, and ISBLANK formulas, so you can replace blank cells with 150 inside the calculation without editing the source data.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office and open the workbook containing the range you want to average.
  2. 2. Select the result cell: Click the empty cell where the average result should appear.
  3. 3. Enter the formula: Type =AVERAGE(IF(ISBLANK(A1:A4),150,A1:A4)) and replace A1:A4 with your actual data range.
  4. 4. Confirm the calculation: Press Enter. If your WPS version prompts for array formula entry, press Ctrl+Shift+Enter.
  5. 5. Check the result: Review the returned average to confirm that blank cells were counted as 150.
Built-in formula compatibility with Excel AVERAGE, IF, and ISBLANK functions.Opens and saves .xlsx Excel workbooks without losing formulas or formatting.Free, lightweight office suite with a familiar spreadsheet interface.No need to manually fill blank cells because the formula handles them dynamically.
microsoft office alternative - wps office

Frequently Asked Questions

What formula averages blank cells as 150 in Excel or WPS Spreadsheets?

Use =AVERAGE(IF(ISBLANK(A1:A4),150,A1:A4)). Replace A1:A4 with your actual range. In WPS Office or Microsoft 365, press Enter; older versions may need Ctrl+Shift+Enter.

Why does my formula return an error or not calculate until I press Ctrl+Shift+Enter?

The IF(ISBLANK(...),150,range) formula creates an array result, so older spreadsheet engines require array formula entry. Select the cell, press F2, and then press Ctrl+Shift+Enter if your version does not spill dynamic arrays.

Does this formula change the original blank cells to 150?

No. The formula only replaces blanks with 150 inside the calculation. The original cells remain blank.

Can I treat cells with spaces as blank?

ISBLANK only detects truly empty cells. If cells contain spaces or formulas returning empty strings, clean those cells first or use a condition that matches your specific cell content.

How do I sum blank cells as 150 instead of averaging them?

Use =SUM(IF(ISBLANK(A1:A4),150,A1:A4)). It converts blank cells to 150 before summing the range.