Vlookup problem

pete4monc

Board Regular
Joined
Jan 12, 2014
Messages
88
Office Version
  1. 365
Platform
  1. Windows
Hi gents
I am trying to lookup the order number in one spreadsheet (Input Sheet, column B) matching it with the same number on another spreadsheet (CustomerService, column B) and then return the date it was finished on the CustomerService sheet, column J. But it keeps coming up with #N/A and if I put in iferror, it returns nothing?
On both sheets the order numbers are in columns B and the date on the customerservice sheet is in column J
=IFERROR(VLOOKUP(B5,CustomerService1!A5:I20,9,FALSE),"")

Thanks in advance.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
How about
=VLOOKUP(B5,CustomerService1!B5:J20,9,FALSE)
 
Upvote 0
Hi there

Check to see if there are trailing spaces in both order number columns which will throw the VLOOKUP out.

Also ensure the data types of both order number columns are the same, they may appear as numbers but actually be formatted as text - Ctrl+1 to check the format
 
Upvote 0
lol.....it now returns a date but the date is 01/01/1900? Which is obviously not the date on the customerservice spreadsheet?
I have checked the format is the same on both spreadsheets.
Thanks for your help.
 
Upvote 0
00/01/1900 is what returns in a blank cell if that cell is formatted as a date - are you sure its returning 01/01/1900? Are there blanks in your date column?

Maybe share a screenshot of your spreadsheet?
 
Upvote 0
Is it returning 01/01/1900 or 00/01/1900 (in dd/mm/yyyy format)?
 
Upvote 0
Dash1.PNG
 
Upvote 0
Are you trying to return values from column H, I, or J?
Because from that image it looks as though J is blank
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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