Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The below function returns a #value! error. I would like the below function
to return "-" only if every cell in the range is empty. Help is appreciated writing this. =IF(B56:af56="","-",AVERAGE(B56:AF56)) -- Sony Luvy |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=IF(COUNT(B56:AF56),AVERAGE(B56:AF56),"-") -- Biff Microsoft Excel MVP "sony654" wrote in message ... The below function returns a #value! error. I would like the below function to return "-" only if every cell in the range is empty. Help is appreciated writing this. =IF(B56:af56="","-",AVERAGE(B56:AF56)) -- Sony Luvy |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Biff, Thanks again, this worked great - Tom
-- Sony Luvy "T. Valko" wrote: Try this: =IF(COUNT(B56:AF56),AVERAGE(B56:AF56),"-") -- Biff Microsoft Excel MVP "sony654" wrote in message ... The below function returns a #value! error. I would like the below function to return "-" only if every cell in the range is empty. Help is appreciated writing this. =IF(B56:af56="","-",AVERAGE(B56:AF56)) -- Sony Luvy |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "sony654" wrote in message ... Biff, Thanks again, this worked great - Tom -- Sony Luvy "T. Valko" wrote: Try this: =IF(COUNT(B56:AF56),AVERAGE(B56:AF56),"-") -- Biff Microsoft Excel MVP "sony654" wrote in message ... The below function returns a #value! error. I would like the below function to return "-" only if every cell in the range is empty. Help is appreciated writing this. =IF(B56:af56="","-",AVERAGE(B56:AF56)) -- Sony Luvy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error: "Excel encountered an error and had to remove some formatti | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) |