Forum Discussion
nannerb1115
Jun 28, 2023Copper Contributor
Sum with blank cells
This may be an easy answer but I can't seem to figure it out for some reason. I want to average 4 cells but sometimes the cell will not be filled. I want the blank cells to always represent the numbe...
- Jun 28, 2023
=AVERAGE(IF(ISBLANK(A1:A4),150,A1:A4))You can try this formula for the AVERAGE. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
=SUM(IF(ISBLANK(A1:A4),150,A1:A4))You can try this formula for the SUM. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
OliverScheurich
Jun 28, 2023Gold Contributor
=AVERAGE(IF(ISBLANK(A1:A4),150,A1:A4))You can try this formula for the AVERAGE. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
=SUM(IF(ISBLANK(A1:A4),150,A1:A4))You can try this formula for the SUM. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.
- nannerb1115Jun 28, 2023Copper ContributorThank you very much! This worked perfectly.