#DIV error

A

angelapercival

Been a while since i used Excel formula's. Looking for help if possible with the below please guys.

Formula if a straight forward average formula, the issue is I want the formula to show a 0 or blank cell if the formula is not able to be applied due to there being data other than number in the cells. So the cell can contain a number or NR or N/R.

So the formula I have that isn't working is:
=AVERAGE(E7:N7), IF(E:G,"N/R"or"HR","")

Any ideas?
 
C

Claus Busch

Hi,

Am Wed, 10 Jul 2013 08:38:47 -0700 (PDT) schrieb
(e-mail address removed):
So the formula I have that isn't working is:
=AVERAGE(E7:N7), IF(E:G,"N/R"or"HR","")

if you have a Excel version 2007 your newer try:
=IFERROR(AVERAGE(E7:N7),0)
else try:
=IF(ISERROR(AVERAGE(E7:N7)),0,AVERAGE(E7:N7))


Regards
Claus B.
 

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

Top