Return blank cell from conditional

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello gurus,

I would love it if the following conditional statement could return a truly
blank cell:

=IF(A5=2,A17,BLANK)

Unfortunately it returns an error when A5<>2.

I am trying to average only numbers that meet certain conditions and thus
replacing BLANK by zero throws off my results.
What would I put in in place of BLANK to get an empty ignorable cell out?
 
I would love it if the following conditional statement could return a
truly
blank cell:

=IF(A5=2,A17,BLANK)

Unfortunately it returns an error when A5<>2.

I am trying to average only numbers that meet certain conditions and thus
replacing BLANK by zero throws off my results.
What would I put in in place of BLANK to get an empty ignorable cell out?

The empty string ""...

=IF(A5=2,A17,"")

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top