+ Reply to Thread
Results 1 to 2 of 2

I need the Today() function to remain static after the cell value is created.

  1. #1
    Registered User
    Join Date
    05-21-2016
    Location
    USA
    MS-Off Ver
    Home 365
    Posts
    1

    Question I need the Today() function to remain static after the cell value is created.

    I'm trying to incorporate a column of Today() functions where their values never change once created. Basically, if today's date = X, show Y, if not, zero. And this formula is copied all the way down column A. Once tomorrow becomes the new today, X therefore changes, and now Z will show instead of Y, but I need Y to automatically stay present at the previous row, independent of the actual Today().

    A1: =if(today()=B1,Y,0)
    A2: =if(today()=B1,Y,0)
    A3: =if(today()=B1,Y,0)

    ... or something along that line. Right now, if B1=today (May 21), A1:A3 = May 21, but I would only like A1 to show May 21. Then, when May 22 hits, A1 remains as Y, but the next row (A2) is now "activated," and A2 now equals Z.

    Prefered result:
    May 21 May 22 May 23
    A1=Y A1=Y A1=Y
    A2=0 A2=Z A2=Z
    A3=0 A3=0 A3=A

    And so forth...

    I have no idea how to use a VBA (if needed), so any help would be greatly appreciated.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need the Today() function to remain static after the cell value is created.

    Adapt to your needs: in A2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but iterative calculation must be enabled
    or look for VBA solutions
    Last edited by sandy666; 05-21-2016 at 07:15 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Static today's date
    By jschavo in forum Excel General
    Replies: 2
    Last Post: 05-03-2014, 10:51 PM
  2. [SOLVED] Trying to get a value to remain copy into a cell and remain the same when condition met
    By shadowlost in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2013, 11:47 AM
  3. function today() to remain unchanged next day
    By kriscar_44 in forum Excel General
    Replies: 2
    Last Post: 01-23-2012, 11:43 AM
  4. How to make the Result of a TODAY Function static?
    By kscramm in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-23-2006, 04:20 AM
  5. [SOLVED] How do I get pivot tables to remain static?
    By Joyce in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 06:32 AM
  6. [SOLVED] How do I get pivot tables to remain static?
    By Joyce in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 06:31 AM
  7. [SOLVED] How do I get pivot tables to remain static?
    By Joyce in forum Excel General
    Replies: 0
    Last Post: 05-23-2005, 07:06 PM

Tags for this Thread

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