VLookUp with Dates

G

Guest

I have a long list that I'm comparing to a short list; I need to pull dates
from other sheets in the same workbook to the one I'm working on.

My current formula is:
=IF(ISNA(VLOOKUP(C:C,'Billing 01-05'!C:E,3,0)),"",VLOOKUP(C:C,'Billing
01-05'!C:E,3,0))

My problem is this: If an item is on the sheet I'm working on, but not on
the 'Billing 01-05' sheet, I get a blank cell. Ok.
However, if the item is on both lists but blank on the 'Billing 01-05' list,
it returns the value of 1/0. I did check, and the value in the blank column
really is blank (no hidden characters), and the dates are in the same format
on both sheets (mm/yy).

Thanks in advance for your help!!
 
G

Guest

I am assuming your format is month day. It is pulling back the blank as a
zero.
try
=IF(or(ISNA(VLOOKUP(C:C,'Billing 01-05'!C:E,3,0)),VLOOKUP(C:C,'Billing
01-05'!C:E,3,0)=""),"",VLOOKUP(C:C,'Billing 01-05'!C:E,3,0))
 
G

Guest

I don't understand why the #NA came back but then try
=IF(ISNA(VLOOKUP(C:C,'Billing 01-05'!C:E,3,0)),"",if(VLOOKUP(C:C,'Billing
01-05'!C:E,3,0)="","",VLOOKUP(C:C,'Billing 01-05'!C:E,3,0)))
 
G

Guest

That worked exactly!! Thank you so much!!!

bj said:
I don't understand why the #NA came back but then try
=IF(ISNA(VLOOKUP(C:C,'Billing 01-05'!C:E,3,0)),"",if(VLOOKUP(C:C,'Billing
01-05'!C:E,3,0)="","",VLOOKUP(C:C,'Billing 01-05'!C:E,3,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

Similar Threads

Help With VLOOKUP 2
Vlookup with Dates 0
Help with Excel 2007 COUNTIFS! 0
Need formula to return exact match 8
Vlookup Help 3
ISERROR on VLOOKUP 3
Arranging dates in a single column 5
Average days between dates 3

Top