How do I use ISNA on this formula

A

amario

=IF(VLOOKUP(A12,$P$12:$U$3323,5,FALSE)="Good","Good","BAD")


How can I get the ISNA in there.. while maintaining my IF output. I'
like the box to tell me if there was a match.. if not.. then tell m
its bad.. while blanking out the #n/A as i'm comparing 2 sets of dat
against each other. Thanks!

- Ama
 
A

Alan

=IF(ISNA(VLOOKUP(A12,$P$12:$U$3323,5,FALSE)),"Bad",VLOOKUP(A12,$P$12:$U$3323,5,FALSE))
Regards,
Alan.
 
C

Cutter

Not sure if I understand what you need.

If you're trying to find the result in Column T based on the value in
Column P matching the value in A12 then type this:

=IF(ISNA(VLOOKUP(A12,$P$12:$U$3323,5,0)),"",VLOOKUP(A12,$P$12:$U$3323,5,0))

This formula will give you that result but will result in a blank cell
if a match for the value in A12 can not be found in P12:p3323

It's your use of "Good" and "Bad" that I don't understand.
 
B

Bob Phillips

=IF(isna(VLOOKUP(A12,$P$12:$U$3323,5,FALSE)),"BAD",VLOOKUP(A12,$P$12:$U$3323
,5,FALSE))


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
A

amario

=IF(VLOOKUP(B12,$R$12:$W$2500,3,FALSE)=C12,"Good",(VLOOKUP(B12,$R$12:$W$2500,3,FALSE)-C12))

How about this one.. basically of the vlookup = C12.. then I want it t
tell me its Good.. otherwise if the quanitites do not match.. i want th
vlookup in one column to subtract from a corresponding cell.. and I wan
the ISNA in there in case the cell doesn't exist in other set of data
Thanks

- Ama
 
Top