Excel replace zero value cells

Anonymous
2017-06-19T19:05:31+00:00

I need to convert zero value cells to blank cells so they do not skew my averaging. "Replace" hits every zero in the sheet including 1200 70 and 104, not ideal. The zero value cells are random throughout the data pull, not all in one row or column.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2017-06-20T02:33:15+00:00

    A couple of additional options that might work for you:

    1. If you click 'Options' in the replace dialog, there is an option to 'Match entire cell contents'. Selecting this will replace a zero on its own but not in 1200, for example.

    1. Rather than replace the zeros, have you considered using AVERAGEIF?

    =AVERAGEIF(A2:D168,"<>0")

    3 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-06-19T19:13:27+00:00

    Hi, you can filter by zero, then highlight the cells and press Delete

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2017-06-20T16:03:07+00:00

    That check box did it. Thank you.

    0 comments No comments