Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting the number of Error Types
I'm trying to determine which error types exist in a fairly large worksheet,
so I wrote the following formula to find the number of "#REF!" errors: =COUNTIF(A2:CY5000,ERROR.TYPE(A2:CY5000)=4) After manually looking through the entire worksheet I found 2 cells containing "#REF!". Yet, my previous formula returned zero. Can someone tell me why my formula isn't working correctly? Thanks, Bob |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting the number of Error Types
=COUNTIF(A2:CY5000,#REF!)
HTH -- AP "Bob" a écrit dans le message de news: ... I'm trying to determine which error types exist in a fairly large worksheet, so I wrote the following formula to find the number of "#REF!" errors: =COUNTIF(A2:CY5000,ERROR.TYPE(A2:CY5000)=4) After manually looking through the entire worksheet I found 2 cells containing "#REF!". Yet, my previous formula returned zero. Can someone tell me why my formula isn't working correctly? Thanks, Bob |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting the number of Error Types
Ardus,
How deceptively simple. Thanks! Bob "Ardus Petus" wrote: =COUNTIF(A2:CY5000,#REF!) HTH -- AP "Bob" a écrit dans le message de news: ... I'm trying to determine which error types exist in a fairly large worksheet, so I wrote the following formula to find the number of "#REF!" errors: =COUNTIF(A2:CY5000,ERROR.TYPE(A2:CY5000)=4) After manually looking through the entire worksheet I found 2 cells containing "#REF!". Yet, my previous formula returned zero. Can someone tell me why my formula isn't working correctly? Thanks, Bob |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting the number of Error Types
Ardus,
One more thing: I used the following formula to determine the TOTAL number of errors: =SUMPRODUCT(--(ISERROR(A2:CY5000))) =24 But when I used your formula to determine the number of SPECIFIC error types, the result was always zero. Is there something more than #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, and #NULL! that ISERROR is looking at? Thanks again for your help. Bob "Ardus Petus" wrote: =COUNTIF(A2:CY5000,#REF!) HTH -- AP "Bob" a écrit dans le message de news: ... I'm trying to determine which error types exist in a fairly large worksheet, so I wrote the following formula to find the number of "#REF!" errors: =COUNTIF(A2:CY5000,ERROR.TYPE(A2:CY5000)=4) After manually looking through the entire worksheet I found 2 cells containing "#REF!". Yet, my previous formula returned zero. Can someone tell me why my formula isn't working correctly? Thanks, Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Counting number of cells that make up a sum.. | Excel Discussion (Misc queries) | |||
Counting number of cells that contain certain text but not cell tw | Excel Worksheet Functions | |||
Counting a specific number only if an adjacent cell has something | Excel Discussion (Misc queries) | |||
Counting the number when you have a number and text | Excel Worksheet Functions | |||
Number Counting | Excel Discussion (Misc queries) |