CURRENT DATE KEEPS REVERTING BACK TO 13/01/2000

%3CLINGO-SUB%20id%3D%22lingo-sub-3485334%22%20slang%3D%22en-US%22%3ECURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485334%22%20slang%3D%22en-US%22%3E%3CP%3EH%20again%2C%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20some%20reason%20the%20dates%20in%20the%20rest%20of%20the%20column%20keep%20reverting%20back%20to%20an%20older%20date%20when%20data%20is%20entered.%20This%20is%20my%20formula%20-%26nbsp%3B%3DIF(Q17%26lt%3B%26gt%3B%22%22%2CIF(S17%3D%22%22%2CNOW()%2CQ17)%2C%22%22)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3485334%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3485618%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485618%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1410922%22%20target%3D%22_blank%22%3E%40Ding080%3C%2FA%3E%26nbsp%3BI%20suspect%20that%20in%20such%20cases%20the%20formula%20is%20returning%20the%20value%20from%20column%20Q17%20and%20not%20the%20value%20for%20NOW().%3C%2FP%3E%3CP%3EIf%20the%20value%20in%20Q17%2C%20for%20example%2C%20equals%2013.333333%20you%20formula%20will%20return%20the%2013th%20of%20January%2019%3CSTRONG%3E00%3C%2FSTRONG%3E%2C%208%3A00%20as%2013.33333%20is%20the%20date%2Ftime%20representation%20for%20the%2013th%20day%20as%20from%20January%201%2C%201900%20(the%20start%20of%20the%20Excel%20calendar).%20The%20time%20comes%20from%20the%20decimals%20meaning%20that%20we%20are%20one-third%20into%20the%20day%2C%20i.e.%208AM%20(0.0333333%20X%2024)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20style%3D%22width%3A%20364px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378826iD2E8C0142162868B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20alt%3D%22Screenshot%202022-06-09%20at%2007.33.29.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3485710%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485710%22%20slang%3D%22en-US%22%3Eoh%20ok%2C%20is%20there%20a%20way%20to%20prevent%20this%20from%20happening%3F%20If%20i%20enter%20a%20new%20row%20of%20data%20and%20the%20date%20cell%20gets%20filled%20automatically%20it%20changes%20all%20the%20surrounding%20dates%20back%20to%2013%2F01%2F00%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3485731%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485731%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1410922%22%20target%3D%22_blank%22%3E%40Ding080%3C%2FA%3E%26nbsp%3BSorry%2C%20don't%20follow%20%22%3CEM%3E.....%3C%2FEM%3E%3CSPAN%3E%3CEM%3Eit%20changes%20all%20the%20surrounding%20dates%20back%20to%2013%2F01%2F00%3C%2FEM%3E%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20share%20a%20file%20(via%20Onedrive%20or%20similar)%20or%20at%20least%20provide%20a%20screenshot%20that%20shows%20a%20more%20complete%20picture%3F%20I.e.%20not%20just%20a%20few%20cells%2C%20one%20of%20which%20has%2013%2F01%2F00.%20What's%20in%20columns%20Q%20and%20S%2C%20for%20instance%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3485768%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485768%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20meant%20to%20happen%20is%20once%20a%20selection%20is%20made%20in%20the%20drop%20down%20menu%20of%20column%20P%2C%20column%20Q%20is%20filled%20(multiplication%20formula%20of%20other%20cells)%20and%20then%20the%20date%20in%20cell%20S%20is%20filled%20with%20the%20current%20date.%3C%2FP%3E%3CP%3EThis%20happens%20as%20it%20should%20until%20data%20is%20entered%20into%20another%20row%2C%20once%20i%20select%20an%20option%20in%20column%20P%20(with%20the%20drop%20down%20menu)%2C%20column%20Q%20is%20filled%2C%20as%20is%20Column%20S%2C%20but%20any%20other%20existing%20dates%20in%20column%20S%20are%20changed%20to%2013%2F01%2F00%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3485853%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3485853%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1410922%22%20target%3D%22_blank%22%3E%40Ding080%3C%2FA%3E%26nbsp%3BBetter%2C%20but%20I%20don't%20see%20the%20row%20numbers.%20Is%20the%20formula%20shown%20by%20any%20chance%20in%20cell%20S12%3F%20If%20so%2C%20it's%20referencing%20itself%20and%20gives%20rise%20to%20circular%20references%20which%20could%20explain%20erratic%20behaviour.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3490833%22%20slang%3D%22en-US%22%3ERe%3A%20CURRENT%20DATE%20KEEPS%20REVERTING%20BACK%20TO%2013%2F01%2F2000%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3490833%22%20slang%3D%22en-US%22%3Eyes%2C%20thats%20right%20S12.%3C%2FLINGO-BODY%3E
Occasional Contributor

H again, 

For some reason the dates in the rest of the column keep reverting back to an older date when data is entered. This is my formula - =IF(Q17<>"",IF(S17="",NOW(),Q17),"")

6 Replies

@Ding080 I suspect that in such cases the formula is returning the value from column Q17 and not the value for NOW().

If the value in Q17, for example, equals 13.333333 you formula will return the 13th of January 1900, 8:00 as 13.33333 is the date/time representation for the 13th day as from January 1, 1900 (the start of the Excel calendar). The time comes from the decimals meaning that we are one-third into the day, i.e. 8AM (0.0333333 X 24)

 

Screenshot 2022-06-09 at 07.33.29.png

oh ok, is there a way to prevent this from happening? If i enter a new row of data and the date cell gets filled automatically it changes all the surrounding dates back to 13/01/00

@Ding080 Sorry, don't follow ".....it changes all the surrounding dates back to 13/01/00"

 

Can you share a file (via Onedrive or similar) or at least provide a screenshot that shows a more complete picture? I.e. not just a few cells, one of which has 13/01/00. What's in columns Q and S, for instance?

 

@Riny_van_Eekelen 

What is meant to happen is once a selection is made in the drop down menu of column P, column Q is filled (multiplication formula of other cells) and then the date in cell S is filled with the current date.

This happens as it should until data is entered into another row, once i select an option in column P (with the drop down menu), column Q is filled, as is Column S, but any other existing dates in column S are changed to 13/01/00

 

@Ding080 Better, but I don't see the row numbers. Is the formula shown by any chance in cell S12? If so, it's referencing itself and gives rise to circular references which could explain erratic behaviour. 

yes, thats right S12.