Excel: Keep cell containing date the same after being set, without macros











up vote
3
down vote

favorite
1












I have a table that looks like this:



Table



What I want to achieve is that when you fill in a row (other than the 'Time' section), the 'Time' column automatically fills itself in. Then, it stays the same forever, regardless of how the table is altered. What I have now is:



=IF(E3="", IF(COUNTBLANK(A2:D2)=0, NOW(), ""), E2)



This works to some extent, in that it sets the date when you finish filling in a row, and the date does not change; however, on the last row of the table the date will still change, until a new last row is created. However, I need the dates to stay exactly the same as right after their row is filled in.



I've tried adding helper columns and SUMPRODUCT to track what to update and when, and what to keep the same, but nothing worked; therefore, I reverted to the above formula that mostly works, other than on the last row (as aforementioned).



Please let me know if you have any ideas. As the title suggests, I cannot use macros.










share|improve this question
























  • I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
    – Ron Rosenfeld
    Nov 26 at 1:40










  • If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
    – Lee
    Nov 26 at 8:45















up vote
3
down vote

favorite
1












I have a table that looks like this:



Table



What I want to achieve is that when you fill in a row (other than the 'Time' section), the 'Time' column automatically fills itself in. Then, it stays the same forever, regardless of how the table is altered. What I have now is:



=IF(E3="", IF(COUNTBLANK(A2:D2)=0, NOW(), ""), E2)



This works to some extent, in that it sets the date when you finish filling in a row, and the date does not change; however, on the last row of the table the date will still change, until a new last row is created. However, I need the dates to stay exactly the same as right after their row is filled in.



I've tried adding helper columns and SUMPRODUCT to track what to update and when, and what to keep the same, but nothing worked; therefore, I reverted to the above formula that mostly works, other than on the last row (as aforementioned).



Please let me know if you have any ideas. As the title suggests, I cannot use macros.










share|improve this question
























  • I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
    – Ron Rosenfeld
    Nov 26 at 1:40










  • If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
    – Lee
    Nov 26 at 8:45













up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I have a table that looks like this:



Table



What I want to achieve is that when you fill in a row (other than the 'Time' section), the 'Time' column automatically fills itself in. Then, it stays the same forever, regardless of how the table is altered. What I have now is:



=IF(E3="", IF(COUNTBLANK(A2:D2)=0, NOW(), ""), E2)



This works to some extent, in that it sets the date when you finish filling in a row, and the date does not change; however, on the last row of the table the date will still change, until a new last row is created. However, I need the dates to stay exactly the same as right after their row is filled in.



I've tried adding helper columns and SUMPRODUCT to track what to update and when, and what to keep the same, but nothing worked; therefore, I reverted to the above formula that mostly works, other than on the last row (as aforementioned).



Please let me know if you have any ideas. As the title suggests, I cannot use macros.










share|improve this question















I have a table that looks like this:



Table



What I want to achieve is that when you fill in a row (other than the 'Time' section), the 'Time' column automatically fills itself in. Then, it stays the same forever, regardless of how the table is altered. What I have now is:



=IF(E3="", IF(COUNTBLANK(A2:D2)=0, NOW(), ""), E2)



This works to some extent, in that it sets the date when you finish filling in a row, and the date does not change; however, on the last row of the table the date will still change, until a new last row is created. However, I need the dates to stay exactly the same as right after their row is filled in.



I've tried adding helper columns and SUMPRODUCT to track what to update and when, and what to keep the same, but nothing worked; therefore, I reverted to the above formula that mostly works, other than on the last row (as aforementioned).



Please let me know if you have any ideas. As the title suggests, I cannot use macros.







microsoft-excel worksheet-function microsoft-excel-2016 date






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 2 at 10:07

























asked Nov 24 at 14:26









Geza Kerecsenyi

799




799












  • I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
    – Ron Rosenfeld
    Nov 26 at 1:40










  • If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
    – Lee
    Nov 26 at 8:45


















  • I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
    – Ron Rosenfeld
    Nov 26 at 1:40










  • If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
    – Lee
    Nov 26 at 8:45
















I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
– Ron Rosenfeld
Nov 26 at 1:40




I think you are going to be limited to choosing between entering the date/time manually, or using VBA.
– Ron Rosenfeld
Nov 26 at 1:40












If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
– Lee
Nov 26 at 8:45




If you don't want to use macro to get the result, try to use shortcut key enter time manually: ctrl+shift+;
– Lee
Nov 26 at 8:45










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Since you have restricted the scope of the solution to Non-VBA in that case I would like to suggest a little tricky solution.



How it works:



- Before you enter the Formula Click,,





  • File, Option then Formula and Check the Enable Iterative Calculation and set Maximum iteration Value to 1000.

  • Finish with Ok

  • Set Appropriate Time Format for requited Data Range.


Write this Formula in Cell E1 and Fill down.



=IF(COUNTBLANK(A1:D1)<>0,"",IF(E1="",NOW(),E1))


Note, the Time will remain unchanged unless you will not delete any value and renter new one in cell/cells. (Time will remain unchanged in case of modification).






share|improve this answer





















  • I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
    – Geza Kerecsenyi
    Dec 2 at 10:18










  • @GezaKerecsenyi,, glad to help you keep asking ☺
    – Rajesh S
    Dec 3 at 4:58











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378027%2fexcel-keep-cell-containing-date-the-same-after-being-set-without-macros%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Since you have restricted the scope of the solution to Non-VBA in that case I would like to suggest a little tricky solution.



How it works:



- Before you enter the Formula Click,,





  • File, Option then Formula and Check the Enable Iterative Calculation and set Maximum iteration Value to 1000.

  • Finish with Ok

  • Set Appropriate Time Format for requited Data Range.


Write this Formula in Cell E1 and Fill down.



=IF(COUNTBLANK(A1:D1)<>0,"",IF(E1="",NOW(),E1))


Note, the Time will remain unchanged unless you will not delete any value and renter new one in cell/cells. (Time will remain unchanged in case of modification).






share|improve this answer





















  • I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
    – Geza Kerecsenyi
    Dec 2 at 10:18










  • @GezaKerecsenyi,, glad to help you keep asking ☺
    – Rajesh S
    Dec 3 at 4:58















up vote
0
down vote



accepted










Since you have restricted the scope of the solution to Non-VBA in that case I would like to suggest a little tricky solution.



How it works:



- Before you enter the Formula Click,,





  • File, Option then Formula and Check the Enable Iterative Calculation and set Maximum iteration Value to 1000.

  • Finish with Ok

  • Set Appropriate Time Format for requited Data Range.


Write this Formula in Cell E1 and Fill down.



=IF(COUNTBLANK(A1:D1)<>0,"",IF(E1="",NOW(),E1))


Note, the Time will remain unchanged unless you will not delete any value and renter new one in cell/cells. (Time will remain unchanged in case of modification).






share|improve this answer





















  • I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
    – Geza Kerecsenyi
    Dec 2 at 10:18










  • @GezaKerecsenyi,, glad to help you keep asking ☺
    – Rajesh S
    Dec 3 at 4:58













up vote
0
down vote



accepted







up vote
0
down vote



accepted






Since you have restricted the scope of the solution to Non-VBA in that case I would like to suggest a little tricky solution.



How it works:



- Before you enter the Formula Click,,





  • File, Option then Formula and Check the Enable Iterative Calculation and set Maximum iteration Value to 1000.

  • Finish with Ok

  • Set Appropriate Time Format for requited Data Range.


Write this Formula in Cell E1 and Fill down.



=IF(COUNTBLANK(A1:D1)<>0,"",IF(E1="",NOW(),E1))


Note, the Time will remain unchanged unless you will not delete any value and renter new one in cell/cells. (Time will remain unchanged in case of modification).






share|improve this answer












Since you have restricted the scope of the solution to Non-VBA in that case I would like to suggest a little tricky solution.



How it works:



- Before you enter the Formula Click,,





  • File, Option then Formula and Check the Enable Iterative Calculation and set Maximum iteration Value to 1000.

  • Finish with Ok

  • Set Appropriate Time Format for requited Data Range.


Write this Formula in Cell E1 and Fill down.



=IF(COUNTBLANK(A1:D1)<>0,"",IF(E1="",NOW(),E1))


Note, the Time will remain unchanged unless you will not delete any value and renter new one in cell/cells. (Time will remain unchanged in case of modification).







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 1 at 9:34









Rajesh S

3,5401422




3,5401422












  • I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
    – Geza Kerecsenyi
    Dec 2 at 10:18










  • @GezaKerecsenyi,, glad to help you keep asking ☺
    – Rajesh S
    Dec 3 at 4:58


















  • I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
    – Geza Kerecsenyi
    Dec 2 at 10:18










  • @GezaKerecsenyi,, glad to help you keep asking ☺
    – Rajesh S
    Dec 3 at 4:58
















I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
– Geza Kerecsenyi
Dec 2 at 10:18




I added a helper column with =IF(COUNTBLANK(A1:D1)=0, TRUE, IF(F1="", FALSE, F1)), and that handles deletion of values as well.
– Geza Kerecsenyi
Dec 2 at 10:18












@GezaKerecsenyi,, glad to help you keep asking ☺
– Rajesh S
Dec 3 at 4:58




@GezaKerecsenyi,, glad to help you keep asking ☺
– Rajesh S
Dec 3 at 4:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378027%2fexcel-keep-cell-containing-date-the-same-after-being-set-without-macros%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар