Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

VLOOKUP definition is:

=IF(ISNA(VLOOKUP(RC[-7],'[\\sqlc\Curr table & Checklist\Currency table - foreign.xlsx]Sheet1'!R2C1:R9999C2,2,FALSE))=FALSE,VLOOKUP(RC[-7],'[\\sqlc\Curr table & Checklist\Currency table - foreign.xlsx]Sheet1'!R2C1:R9999C2,2,FALSE),""No a/c"")

Excel is throwing an error due to the space between 'Curr' and 'table' in the path name (and would also get upset about the following spaces in the path name as well).

Q: Where do I insert speech marks (") to overcome the problem. Have tried several options but no luck so far.

share|improve this question
up vote 1 down vote accepted

You put quotes (") around the entire path.

In this case, your code should look like this:

=IF(ISNA(VLOOKUP(RC[-7],'["\sqlc\Curr table & Checklist\Currency table - foreign.xlsx"]Sheet1'!R2C1:R9999C2,2,FALSE))=FALSE,VLOOKUP(RC[-7],'[\sqlc\Curr table & Checklist\Currency table - foreign.xlsx]Sheet1'!R2C1:R9999C2,2,FALSE),""No a/c"")
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.