Vlookup problem

19Felipe85

New Member
Joined
Mar 3, 2011
Messages
4
Hi guys,

I am sorry for probably posting a problem that most of you find easy but what can i say, im not that good with excel - though im learning!

In worksheet one I have a bunch of numbers in E2:E88 with a corresponding name in F2:F88.

In the second worksheet I want to type in a number in cell B4 and get the corresponding name in cell C4.

I thought I had to use the Vlookup-function but I get this #ref-error every time. Is this the wrong formula and should I use a if-then function?

I hope someone can help. Thank you!

Felipe
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
thanks! that's what i really was searching for!

now, if i drag the function down it says #N/A function so i thought to use the isna function:

=if(isna(VLOOKUP(B5;Invulsheet!E$2:F$88;2;FALSE)),"",VLOOKUP(B5;Invulsheet!E$2:F$88;2;FALSE))

but it gives an error

what is wrong?
 
Upvote 0
What error? This works for me

=IF(ISNA(VLOOKUP(B4,Sheet1!E$2:F$88,2,FALSE)),"",VLOOKUP(B4,Sheet1!E$2:F$88,2,FALSE))
 
Upvote 0
cell C4 in my sheet contains

=IF(ISNA(VLOOKUP(x,x,x,FALSE)),0,VLOOKUP(x,x,x,FALSE))

when I press enter it says the formula you typed contains an error..

and when I press enter again, it highlights the 0 and second VLOOKUP
 
Upvote 0
Enclose x,x,x, in quotes. "x,x,x," the commas are throwing excel off, they will be ignored if you enclose in quotes.
 
Upvote 0
"x,x,x" in stead of x,x,x

That should then work

Edit: **** I was beaten to it!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top