Please help Excel gives 00-Jan-00

santvik234

New Member
Joined
Jul 15, 2024
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Dear Excel Stalwarts,

My earlier colleague left, he was working on an excel sheet, which basically used to get the first business day of the month from the available data set, now it is giving an 00-Jan-00 error. ijust dont know what to do
=IF(A16<B$9,VLOOKUP(B$15,Summary!$AC$2:$AD$62,2,FALSE),IF(OR(A16=LOOKUP(B$8,Data!A:A,Data!A:A),A16=""),"",LOOKUP(B$8,Data!A:A,Data!A:A)))

Data: Has the data with dates and respective values
B$9 is the END date
B$8 is the start date
b$15 is the name of the product, which in summary (Summary!$AC$2:$AD$62,2,FALSE) searches the no of column of the respective product for its values

Please help
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
thats 0 using a date format
so change the format of the cell to General
and you will get zero

i dont know what results are being returned by that formula lookup
I suspect 0
a blank cell will return a zero with vlookup
 
Upvote 0
Hi, Thanks for your quick reply. There are no blank cells in it, if i manually put the end date as 30thjune 2024, then it does the calculation otherwise after pickingup the values of 3rd june ( which is the 1st working day of june), it is supposed to yield 30th june 2024, but instead if gives 00-Jan-00 error

Thanks
 
Upvote 0
thats 0 using a date format
so change the format of the cell to General
and you will get zero

i dont know what results are being returned by that formula lookup
I suspect 0
a blank cell will return a zero with vlookup
Hi, Thanks for your quick reply. There are no blank cells in it, if i manually put the end date as 30thjune 2024, then it does the calculation otherwise after pickingup the values of 3rd june ( which is the 1st working day of june), it is supposed to yield 30th june 2024, but instead if gives 00-Jan-00 error

Thanks
 
Upvote 0
as i cannot see all your spreadsheet , i dont know where you are putting
if i manually put the end date as 30thjune 2024,
Or where you are getting the lookups from

you could share the file on a fileshare like dropbox or onedrive
BUT i suspect you have personal or cpmpany sensitive data in the spreadsheet and that would need to be blanked out - as this is a public forum available for anyone to see

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
as i cannot see all your spreadsheet , i dont know where you are putting

Or where you are getting the lookups from

you could share the file on a fileshare like dropbox or onedrive
BUT i suspect you have personal or cpmpany sensitive data in the spreadsheet and that would need to be blanked out - as this is a public forum available for anyone to see

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
thanks for your help. let me check if i can put an excel
 
Upvote 0
ok, there is no need to quote ALL my post on each reply
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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