Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Does anyone know how to make the average,median,max, and/or min
functions ignore cells in the referenced range that contain the #value! error? All four of the functions are returning #value! because one or more in the referenced range have the error. Thank you. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Larry,
You need to wrap your function in an ISERR function. =IF(ISERR(AVERAGE(A1:A10)),"",AVERAGE(A1:A10)) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Larry4500" wrote in message oups.com... Does anyone know how to make the average,median,max, and/or min functions ignore cells in the referenced range that contain the #value! error? All four of the functions are returning #value! because one or more in the referenced range have the error. Thank you. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Or if you don't want it to be blank if there's an error
=AVERAGE(IF(ISNUMBER(A1:A10),A1:A10)) entered with ctrl + shift & enter -- Regards, Peo Sjoblom Portland, Oregon "Chip Pearson" wrote in message ... Larry, You need to wrap your function in an ISERR function. =IF(ISERR(AVERAGE(A1:A10)),"",AVERAGE(A1:A10)) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Larry4500" wrote in message oups.com... Does anyone know how to make the average,median,max, and/or min functions ignore cells in the referenced range that contain the #value! error? All four of the functions are returning #value! because one or more in the referenced range have the error. Thank you. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you all for the help. I tried all three and now I'm getting
either a blank, a -, or '. What I'm trying to do is make the function average or find the median of all the cells in the range that do not have an error. If anyone knows how to do this, I would appreciate the help. Thanks. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The formula I gave will work if there are nunmbers in the range
note that it needs to be entered with ctrl + shift & enter -- Regards, Peo Sjoblom Portland, Oregon "Larry4500" wrote in message ups.com... Thank you all for the help. I tried all three and now I'm getting either a blank, a -, or '. What I'm trying to do is make the function average or find the median of all the cells in the range that do not have an error. If anyone knows how to do this, I would appreciate the help. Thanks. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Last question: the formula what works perfectly for all three except
the MIN function. Any idea why? Thanks again. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Assuming your range is A1:A5 for average you can use =AVERAGE(IF(ISNUMBER($A$1:$A$5),$A$1:$A$5)) confirmed with CTRL+SHIFT+ENTER replace average with MIN, MAX and MEDIAN for your other functions -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=501538 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
checking that cells have a value before the workbook will close | Excel Worksheet Functions | |||
How do I ignore cells with errors when calculating an average? | Excel Worksheet Functions | |||
How do I average a range of cells when one cell contains #N/A | Excel Discussion (Misc queries) | |||
Using SUM function with #N/A in some cells | Excel Worksheet Functions | |||
What function can make cells shift up when they are blank? | Excel Worksheet Functions |