+ Reply to Thread
Results 1 to 9 of 9

How can I freeze the answer to a function?

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    California
    MS-Off Ver
    Excel 2000
    Posts
    6

    How can I freeze the answer to a function?

    Here's the question: "How can I freeze the result of a function?"

    Here's a made up example:

    Example: Suppose I put a function like NOW() or TODAY() at the top of my empty, read-only, purchase request form,
    so when it was filled in the date would appear automatically.
    So far so good. It had that day's date and I saved it with a different name for future reference.
    But when I come back to print a copy, the date would now be the printing date instead of the request date, making it useless as a record.
    I would have to look up the date filed, type that into the form and then print it.

    So, Here's the question: "How can I freeze the result of a function?"

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How can I freeze the answer to a function?

    Hi HomerdPOe,

    After entering the formula, you can copy - paste special - values either manually or through the help of a quick macro. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    03-02-2012
    Location
    California
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: How can I freeze the answer to a function?

    I guess that's something, but it seems like it's more work than just typing the date.
    I was hoping for something that would automate the process. Instead of setting a function to =TODAY(), I would enter it as =FREEZE(TODAY())

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How can I freeze the answer to a function?

    Hi HomerdPoe,

    As per me this is not achievable using formulas unless you have some other criteria in your spreadsheet like if Cell A1 = "Yes" then Today() else "any other date" OR may be else Today() - 6 days etc... Alternatively, you can rely on macro as well. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    03-05-2012
    Location
    Minnesota
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: How can I freeze the answer to a function?

    Hey HomerdPoe, I’m trying to find out the same question. I have a spreadsheet where I log all the current projects everyone is working on and I need to track from when the project was logged to when it was completed. When the project status colum is changed to "complete" or "dead" the completion date colum is automatically populated with the current date which works great, however once the date is entered I don’t want it to ever change again and as it stands right now it updates with the current date when its next open. Here’s my formula =IF(OR(G3="COMPLETE",(G3="DEAD")),TODAY(),"---").

    If anyone can help both HomerDPoe and I, it would be vary much appreciated.

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: How can I freeze the answer to a function?

    you would have to use a macro to accomplish that, but if you are just trying to find an easier way to enter the date into a cell you cal press Ctrl+; or for the current time Ctrl+Shift+;
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  7. #7
    Registered User
    Join Date
    03-02-2012
    Location
    California
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: How can I freeze the answer to a function?

    Quote Originally Posted by DGagnon View Post
    you would have to use a macro to accomplish that, but if you are just trying to find an easier way to enter the date into a cell you cal press Ctrl+; or for the current time Ctrl+Shift+;
    Control-semicolon is handy, all right. Not part of the question, though.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How can I freeze the answer to a function?

    First go to Tools Options - Check " Iterations" - Then, in your destination cell ( say B1), enter =IF(A1<>"",IF(B1="",NOW(),B1),"")
    When A1 is entered B1 will be timestamped.
    There are of course VBA solutions to this problem

  9. #9
    Registered User
    Join Date
    03-02-2012
    Location
    California
    MS-Off Ver
    Excel 2000
    Posts
    6

    Re: How can I freeze the answer to a function?

    Pepe, I like that. It's what I was thinking of. I'll try it. Thanks.

    ----
    Update:
    Worked great.
    Last edited by HomerDPoe; 03-08-2012 at 12:49 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1