Need help to finish function....

D

Dan B

Here is my function....
=IF(ISNA(VLOOKUP($I$16,'[customers from
caselle.xls]Sheet1'!$A$2:$G$710,5&6&7,FALSE))

I am trying to join text on a row in the 5th, 6th and 7th colums of
workbook into 1 cell in another workbook, thus my guess of 5&6&7, which was
a bad guess.

Column 5 is the city, 6 is the state, and 7 is the zip code. I would like
to pull it into one cell in the following format: city, state zip.

What to I need to replace the 5&6&7 with to make this work?

Thanks,
Dan
 
A

Alan Beban

The formula I posted will return the values to 3 different cells; I'll
take another stab at returning them to one cell, if no one else does first.

Alan Beban
 
H

Harlan Grove

Here is my function....
=IF(ISNA(VLOOKUP($I$16,'[customers from
caselle.xls]Sheet1'!$A$2:$G$710,5&6&7,FALSE))

I am trying to join text on a row in the 5th, 6th and 7th colums of
workbook into 1 cell in another workbook, thus my guess of 5&6&7, which was
a bad guess.

Column 5 is the city, 6 is the state, and 7 is the zip code. I would like
to pull it into one cell in the following format: city, state zip.

I think you want

=IF(ISNUMBER(MATCH($I$16,'[customers from caselle.xls]Sheet1'!$A$2:$A$710,0)),
VLOOKUP($I$16,'[customers from caselle.xls]Sheet1'!$A$2:$G$710,5,0)&", "&
VLOOKUP($I$16,'[customers from caselle.xls]Sheet1'!$A$2:$G$710,6,0)&" "&
VLOOKUP($I$16,'[customers from caselle.xls]Sheet1'!$A$2:$G$710,7,0),"")
 

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