This is my function

IF(ISNA(VLOOKUP(AT2,users!A2:B66,2,FALSE)),”NULL”,VLOOKUP(AT2,users!A2:B66,2,FALSE))

users is another sheet in the excel, now when I drag this function, I want only AT2 to changes as per the cell but not users!A2:B66 to become users!A3:B67. There are some million records in the other sheet, so I don’t get these values right. Can you tell me how to fix this.

Thank You

Sai

This is my function

IF(ISNA(VLOOKUP(AT2,users!A2:B66,2,FALSE)),”NULL”,VLOOKUP(AT2,users!A2:B66,2,FALSE))

I am in a big problem. I have this code

=IF(C10=”Distributor-VAT”,VLOOKUP(B13,K1:L1000,2,0),IF(C10=”Distributor-CST”,VLOOKUP(B13,M1:N1000,2,0),IF(C10=”Distributor-EW”,VLOOKUP(B13,O1:P1000,2,0),IF(C10=”Distributor-MH”,VLOOKUP(B13,Q1:R1000,2,0),IF(C10=”Dealer-VAT”,VLOOKUP(B13,S1:T1000,2,0),IF(C10=”Dealer-CST”,VLOOKUP(B13,U1:V1000,2,0),IF(C10=”Dealer-EW”,VLOOKUP(B13,W1:X1000,2,0),VLOOKUP(B13,Y1:Z1000,2,0))))))))

This cell already have 7 IF’s so I cannot use ISERROR. Any idea how to get #N/A issue sorted.

Thanks

Amit

Please e-mail me the response if you know how to do it @

]]>You can use COUNTA…There are many more methods than that as well. I was attempting to point out what ISNA() can be used for. Your counta formula saves 4 or 5 characters over the ISNA method.

Joe

]]>=IF(COUNTA(E4,$A$4:$B$6),VLOOKUP(E4,$A$4:$B$6,2,FALSE),”")

]]>