# Date formula validation to True / False

1. ## Date formula validation to True / False

I entered a new date and column L is now showing up as False.

pic1.PNG

2. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

What cell has the formula you provided?

What is the formula in column L?

What is the logic of your formula? Why add a utilization to a date? Seems like adding apples and elephants.

3. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

L - =AND(\$J\$12>=J48,OR(\$K\$12<=K48,K48=""))
J - =DATE(2020,1,-2)-WEEKDAY(DATE(2020,1,3))+H12*7

Attachment 697715

The dates shows when they start or end. So if they end, it should give a FALSE output. I added a start date and it should come out as TRUE

4. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

(How to) Upload a Workbook directly to the Forum
• Click Advanced next to "Post Quick Reply" button at the bottom right of the editor box.
• Scroll down until you see "Manage Attachments",
• Click the "Choose" button at the upper left (upload from your computer).
• Once the upload is completed the file name will appear below the input boxes in this window.
• Close the Attachment Manager window.
Ensure to disable any Workbook Open/Autorun macros before attaching!

6. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

Attached is the file.

7. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

Excel calculates dates by counting the number of days since 1/1/1900.
In cell J12, 44081 corresponds to the date 9/7/2020.
The formula for L48 begins =AND(\$J\$12>=J48...
The date shown in the screenshot, 9/16/2020 (44090) is greater than 9/7/2020 (44081), so the AND function evaluates to false.
Let us know if you have any questions.

8. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

Welcome to the forum.

We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

9. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

Updated. Apologies for that.

10. ## Re: =date(2020,1,-2)-weekday(date(2020,1,3))+h12*7

Thank you! That makes sense! So I'm thinking I have to adjust the formula on

J12 =DATE(2020,1,-2)-WEEKDAY(DATE(2020,1,3))+H12*7

This is where I'm stuck. How do I change this formula so that when I add a new 'Start Date' result value is True; but when I add an 'End Date' the value returns False?

11. ## Re: Date formula validation to True / False

I see that the title above post #1 is different from the rest, so I assume that is the edited title, Thank You.
I think that to answer the question of how to change the formula in cell J12 so that it meets the conditions "when I add a new 'Start Date' result value is True; but when I add an 'End Date' the value returns False" we would need to know the rational behind the formula and why the resulting date is used in the formula for L14:L48.