Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a vlookup that returns a logical 1 if a value is present. If it
is not present, the lookup fails and I get an #N/A back. So where I count up the 1s is fine, but I am having problems counting up the number of "#N/A" occurrences I have in that row. It returns "#N/A". So, I would like to either nest the Vlookup in an IF so that I get back a 0 when the lookup fails to find the referred search term, OR I would like to simply tally the number of "#N/A" occurrences in that row. These fail: =SUMIF(L2:AB2,(ISNA)) This works, but isn't really what I want... I think. =COUNTIF(L2:AB2,"#N/A") I'd rather correct the errant return from the vlookup to give a 0 when it fails to find the reference value. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count how many occurrences | Excel Discussion (Misc queries) | |||
Counting occurrences | Excel Discussion (Misc queries) | |||
Counting occurrences | Excel Discussion (Misc queries) | |||
sort 2 or more occurrences | Excel Worksheet Functions | |||
# of occurrences | Excel Worksheet Functions |