Link to home
Start Free TrialLog in
Avatar of Jeremy Pierce
Jeremy PierceFlag for United States of America

asked on

Force A Date Lookup in Excel

Wondering if there is a formula to force a specific date to populate in a sell.

We do a planning sheet, and 14 days before an event on a Tuesday documents are due. So if the event were 1/26/2018 the Tuesday of  1/9/2018 the documents are due.
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Assuming you have the event date in lets say cell A2, a formula in another cell =A2-14  would give you the date fourteen days prior.

Going by your description, I don't think you want it that simple though.

Can you be more specific on your criteria?

Event date of 26 Jan (Friday), 2 weeks previous is 12 Jan (Friday), Tuesday of that week is 9 Jan as you've described.

What if event date was 22 Jan (Monday), two weeks previous is 8 Jan (Monday). Do you still want 9 Jan as due date or should that be the previous Tuesday, 2 Jan?

Would it be right to use the rule, round back the event date to the beginning of the week, deduct two weeks and then take Tuesday of that week? If event is before Tuesday roll back 3 weeks.

26 Jan event rolls back to Week Commencing 22 Jan, two weeks prior is 8 Jan, Tuesday is 9 Jan.

22 Jan event is before Tuesday so roll back 3 weeks (1 Jan) and then take Tuesday of that week, 2 Jan.
ASKER CERTIFIED SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeremy Pierce

ASKER

Thank you so much!
Glad to help.