can a VLookup include "Exclude roll forward if weekend dates returned"

Can an expert resolve this for me.

I am using a VLookup i.e.:


But if the date it returns is a weekend I need it to to be rolled forward to the next working day i.e. Monday

so if the date it returns is 27/9/14 I need it to change to 29/9/14

if the date it returns is 28/9/14 I need it to change to 29/9/14

Is this possible

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Assuming you have Excel 2007 or greater, you can use IFERROR(A1,""), instead of IF(ISERROR(A1),"",A1) - it's quicker.

Here's the answer:


Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JagwarmanAuthor Commented:
wow that was a fast reply. Brilliant I would never have worked that out thanks Phillip
JagwarmanAuthor Commented:
Very helpfull Expert.
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

JagwarmanAuthor Commented:

sorry to trouble you again on this one but, when the VLookup does it's work, if the field it looks up is blank it is returning 02/01/1900

I thought that IFERROR would stop that?

Thanks & Regards
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
No, "IFERROR" or "IF(ISERROR" will only return a blank if there is an error.

If column I is nullable, then VLOOKUP will return a zero (instead of a blank value), and you need to check for it:


Open in new window

JagwarmanAuthor Commented:
sorry I have another problem now

The date it is looking up is 17/11/2014 which is a Monday but it is returning 19/11/2014

Would you know why?
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
It isn't for me. Are you sure that there isn't an earlier version of the thing that it is looking up, which has an earlier date?
JagwarmanAuthor Commented:
this is going to be one of those bizzare things. I have played around with the dates but can't resolve
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Do you want to post your spreadsheet, or is it confidential?
JagwarmanAuthor Commented:
it was me, sorry and BIG thanks for your help

instead of D:I,6,0   D:I,6,0   D:I,6,0

I somehow put

D:I,6,0   D:I,6,0   D:I,7,0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.