VLOOKUP merge documents, copy-paste special...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I have an equation that is getting the data from the 2nd column of a new
data workbook, after comparing a column in my workbook to the 1st column of
new data book. The problem with is cannot get ISNA to work in conjunction
with, so n/a's do not show. Have:

=VLOOKUP(V124,[file.xls]sheet!$A$1:$B$3355,2,FALSE)

gets 1st column into old doc fine, but I can not seem to use an IF in front
of, to exclude a couple of items (to mention again, can't get rid of N/A..)

=IF(OR(V124={"",".",".sym."}),"",

does not work, hope enough info.. thanks
 
Just use

=IF(ISNA(lookup_formula),"",lookup_formula)


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
You could also use

=IF(V124={"",".",".sym."},"",VLOOKUP(V124,[file.xls]sheet!$A$1:$B$3355,2,FAL
SE)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
thankyou!! is there a name for the fault that produces, using 2 If Not's I
guesse.. thanks

Bob Phillips said:
Just use

=IF(ISNA(lookup_formula),"",lookup_formula)


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

nastech said:
Hi, I have an equation that is getting the data from the 2nd column of a new
data workbook, after comparing a column in my workbook to the 1st column of
new data book. The problem with is cannot get ISNA to work in conjunction
with, so n/a's do not show. Have:

=VLOOKUP(V124,[file.xls]sheet!$A$1:$B$3355,2,FALSE)

gets 1st column into old doc fine, but I can not seem to use an IF in front
of, to exclude a couple of items (to mention again, can't get rid of N/A..)

=IF(OR(V124={"",".",".sym."}),"",

does not work, hope enough info.. thanks
 
Sorry, I don't understand the question. Can you clarify?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

nastech said:
thankyou!! is there a name for the fault that produces, using 2 If Not's I
guesse.. thanks

Bob Phillips said:
Just use

=IF(ISNA(lookup_formula),"",lookup_formula)


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

nastech said:
Hi, I have an equation that is getting the data from the 2nd column of
a
new
data workbook, after comparing a column in my workbook to the 1st
column
of
new data book. The problem with is cannot get ISNA to work in conjunction
with, so n/a's do not show. Have:

=VLOOKUP(V124,[file.xls]sheet!$A$1:$B$3355,2,FALSE)

gets 1st column into old doc fine, but I can not seem to use an IF in front
of, to exclude a couple of items (to mention again, can't get rid of N/A..)

=IF(OR(V124={"",".",".sym."}),"",

does not work, hope enough info.. thanks
 

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

Back
Top