U
Ulf Nilsson
Hi,
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
/ Ulf
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
/ Ulf
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
-----Original Message-----
Ulf,
you have to be sure to use the right parentheses for the
right situation.
To lookup a value on the same worksheet, use:
=VLOOKUP(F6,$B$4:$C$15,2,FALSE)
For a value on a different worksheet in the same workbook,
place the sheet name in single quotes followed by an
exclamation mark:
=VLOOKUP(F6,'Sheet 1'!$B$4:$C$15,2,FALSE)
For a value in a different worksheet, list the full path
in single quotes with the workbook name in square brackets:
=VLOOKUP(F7,'p:\Example Files\[Book3.xls]Sheet 1'!
$B$4:$C$15,2,FALSE)
Cheers, Pete
.-----Original Message-----
Hi,
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
/ Ulf
.
-----Original Message-----
Pete,
The problem with this is that if the first value cannot
be found, it copies the value from the cell above in the
same worksheet.
/ Ulf-----Original Message-----
Ulf,
you have to be sure to use the right parentheses for the
right situation.
To lookup a value on the same worksheet, use:
=VLOOKUP(F6,$B$4:$C$15,2,FALSE)
For a value on a different worksheet in the same workbook,
place the sheet name in single quotes followed by an
exclamation mark:
=VLOOKUP(F6,'Sheet 1'!$B$4:$C$15,2,FALSE)
For a value in a different worksheet, list the full path
in single quotes with the workbook name in square brackets:
=VLOOKUP(F7,'p:\Example Files\[Book3.xls]Sheet 1'!
$B$4:$C$15,2,FALSE)
Cheers, Pete
-----Original Message-----
Hi,
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
-----Original Message-----
Ulf,
AFAIK it should only do that if you omit the ",False)" at
the end of the formula. If you include that, it will
return an error when it can't find an exact match. If you
omit it, it'll return the closest match.
Pete.
-----Original Message-----
Pete,
The problem with this is that if the first value cannot
be found, it copies the value from the cell above in the
same worksheet.
/ Ulf-----Original Message-----
Ulf,
you have to be sure to use the right parentheses for the
right situation.
To lookup a value on the same worksheet, use:
=VLOOKUP(F6,$B$4:$C$15,2,FALSE)
For a value on a different worksheet in the same workbook,
place the sheet name in single quotes followed by an
exclamation mark:
=VLOOKUP(F6,'Sheet 1'!$B$4:$C$15,2,FALSE)
For a value in a different worksheet, list the full path
in single quotes with the workbook name in square brackets:
=VLOOKUP(F7,'p:\Example Files\[Book3.xls]Sheet 1'!
$B$4:$C$15,2,FALSE)
Cheers, Pete
-----Original Message-----
Hi,
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
.
-----Original Message-----
Pete,
I just want it to result in 0 if not found, not an error.
How is this done?
/ Ulf-----Original Message-----
Ulf,
AFAIK it should only do that if you omit the ",False)" at
the end of the formula. If you include that, it will
return an error when it can't find an exact match. If you
omit it, it'll return the closest match.
Pete.
-----Original Message-----
Pete,
The problem with this is that if the first value cannot
be found, it copies the value from the cell above in the
same worksheet.
/ Ulf
-----Original Message-----
Ulf,
you have to be sure to use the right parentheses for the
right situation.
To lookup a value on the same worksheet, use:
=VLOOKUP(F6,$B$4:$C$15,2,FALSE)
For a value on a different worksheet in the same
workbook,
place the sheet name in single quotes followed by an
exclamation mark:
=VLOOKUP(F6,'Sheet 1'!$B$4:$C$15,2,FALSE)
For a value in a different worksheet, list the full path
in single quotes with the workbook name in square
brackets:
=VLOOKUP(F7,'p:\Example Files\[Book3.xls]Sheet 1'!
$B$4:$C$15,2,FALSE)
Cheers, Pete
-----Original Message-----
Hi,
Does VLOOKUP work between different sheets? It doesn't
for me. Help!
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.