View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Extract list of units based on error criteria to new list

Stop whinning like a baby?

I'm trying to show you a better way to do things. If you can't appreciate
that then....you're welcome and thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Teethless mama" wrote in message
...
Stop whinning like a baby? My formula is show on most Excel text books.
Read
"Excel 2003 Bible by John Walkenbach" it show a lot of those formulas.


"T. Valko" wrote:

Since they wanted to extract based on #N/A you should probably use:

(SMALL(IF(ISNA(rangeB)

Your error trap is horrendous! <bg

=IF(ISERR(SMALL(IF(ISERROR(rangeB),ROW(INDIRECT("1 :"&ROWS(rangeA)))),ROWS($1:1)))

It can be replaced with:

=IF(ROWS($1:1)<=COUNTIF(rangeB,#N/A)

I give up trying to convince you that this is not the best way to go:

ROW(INDIRECT("1:"&ROWS(rangeA)))

--
Biff
Microsoft Excel MVP


"Teethless mama" wrote in
message
...
In D1:
=IF(ISERR(SMALL(IF(ISERROR(rangeB),ROW(INDIRECT("1 :"&ROWS(rangeA)))),ROWS($1:1))),"",INDEX(rangeA,SM ALL(IF(ISERROR(rangeB),ROW(INDIRECT("1:"&ROWS(rang eA)))),ROWS($1:1))))

ctrl+shift+enter, not just enter
copy down

In E1: =IF(D1="","",VLOOKUP(D1,ranges,2,0))
copy down

"Sheila" wrote:

I have a list that looks like this:
Column A Column B
02941842 34,939.55
02941840 34,939.55
03062084 #N/A
02657582 30,203.20
03126311 #N/A
03105157 28,430.54

I need a seperate summary list that extracts the items from Column A
with
an
error in Column B. Can excel do this?