Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
#DIV error
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? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
#DIV error
Hi,
Am Wed, 10 Jul 2013 08:38:47 -0700 (PDT) schrieb : 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. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
#DIV error
Fantastic that worked :-)
Thanks for taking the time to respond. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Error handling error # 1004 Run-time error | Excel Programming | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming | |||
Automation Error, Unknown Error. Error value - 440 | Excel Programming |