eliminate N/A error when using Vlookup

N

Nena

How does this macro look? Will it give me a return of an "empty cell"?

ActiveCell.FormulaR1C1 = "=IF(ISNA(VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE)=TRUE),"", VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE))"
ActiveCell.Offset(0, 1).Select

THANKS!
 
B

Bob Phillips

Surely, you can test it just as easily as we can.

One thing to note, quotes within quotes should be doubled up, so it is

ActiveCell.FormulaR1C1 = "=<<tes>>,"""",<<test>>"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top