![]() |
Ignore #N/A in formula
I have a range of values that intentionally include #N/A (for charting
purposes). When I reference this range in a MIN or MAX formula, it returns #N/A. How do I ignore the #N/A values in this range? |
Answer: Ignore #N/A in formula
To ignore #N/A values in a range when using a MIN or MAX formula, you can use the IFERROR function. Here's how:
Note: This same process can be used for the MAX function as well. |
Ignore #N/A in formula
Try these array formulas** :
Min: =MIN(IF(ISNUMBER(A1:A10),A1:A10)) Max: =MAX(IF(ISNUMBER(A1:A10),A1:A10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "sasquatch" wrote in message ... I have a range of values that intentionally include #N/A (for charting purposes). When I reference this range in a MIN or MAX formula, it returns #N/A. How do I ignore the #N/A values in this range? |
Ignore #N/A in formula
Brilliant!
Thanks much! "T. Valko" wrote: Try these array formulas** : Min: =MIN(IF(ISNUMBER(A1:A10),A1:A10)) Max: =MAX(IF(ISNUMBER(A1:A10),A1:A10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "sasquatch" wrote in message ... I have a range of values that intentionally include #N/A (for charting purposes). When I reference this range in a MIN or MAX formula, it returns #N/A. How do I ignore the #N/A values in this range? |
Ignore #N/A in formula
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "sasquatch" wrote in message ... Brilliant! Thanks much! "T. Valko" wrote: Try these array formulas** : Min: =MIN(IF(ISNUMBER(A1:A10),A1:A10)) Max: =MAX(IF(ISNUMBER(A1:A10),A1:A10)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "sasquatch" wrote in message ... I have a range of values that intentionally include #N/A (for charting purposes). When I reference this range in a MIN or MAX formula, it returns #N/A. How do I ignore the #N/A values in this range? |
All times are GMT +1. The time now is 09:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com