Vlookup a cell then if date cell blank return zero not 00/01/1900

CarolBell44

New Member
Joined
Nov 23, 2016
Messages
9
Hi

Can anyone help please

I have a job sheet that looks up various data from the main sheet. My problem is that when I lookup Cell B11 (this is the job reference) from the main data sheet, if there isn't a date in the third column (that is its left blank) I want the cell F10 to be left blank instead of returning 00/01/1900

My current formula is =VLOOKUP(Job_No,'Job No. Log'!$A:$C,3,TRUE)

Cheers
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi, you could keep your current formula as is and use a custom format to hide the zero, for example:

dd/mm/yyyy;;

Or alternatively you could try:

=IFERROR(1/(1/(VLOOKUP(Job_No,'Job No. Log'!$A:$C,3,TRUE))),"")

 
Upvote 0
Hi, you could keep your current formula as is and use a custom format to hide the zero, for example:

dd/mm/yyyy;;

Or alternatively you could try:

=IFERROR(1/(1/(VLOOKUP(Job_No,'Job No. Log'!$A:$C,3,TRUE))),"")


Thanks for all your help, just what I wanted, Cheers
 
Upvote 0
Great, good to hear :)
 
Upvote 0

Forum statistics

Threads
1,215,894
Messages
6,127,619
Members
449,390
Latest member
joan12

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