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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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

Forum statistics

Threads
1,215,149
Messages
6,123,311
Members
449,095
Latest member
Chestertim

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