+ Reply to Thread
Results 1 to 5 of 5

Is there a way to have text in a cell erase itself on a set date?

  1. #1
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Is there a way to have text in a cell erase itself on a set date?

    Hi there,

    I am wondering if it is possible to write something in a cell (ie: "WAIT") and have that text erase itself on a certain date or in a certain number of days?

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Is there a way to have text in a cell erase itself on a set date?

    You could write a function that shows "WAIT" until a date is reached and then "". Something like =IF(datecell>=TODAY()-7,"WAIT","")

    If you truly want to write any text in the cell and for it to vanish, you
    - would need some vba to truly clear the cell
    - could use conditional formatting to make the text "white" so that it is no longer visible (but if you go to the cell, it would show "WAIT" in the formula bar). So this is strictly cosmetic.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Re: Is there a way to have text in a cell erase itself on a set date?

    Hmmm, okay I will try that function. I just often find that I am having to wait a couple of weeks before completing an action, but I am still being told (by action cells) to complete said action. It would be nice to not have to check every time whether or not I actually have to complete that action or wait a few days. If there is anything written in the cell at all, the action goes away. Thanks for the help!

  4. #4
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Re: Is there a way to have text in a cell erase itself on a set date?

    Question: Can you explain the calculation steps for this formula? I'm having a hard time understanding how it would work fro some reason. Would I not need to enter a date in the cell for this to work? Like I would have to enter the date that I want it to wait until in a separate cell, and then reference that cell in this formula?

  5. #5
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Is there a way to have text in a cell erase itself on a set date?

    Yes, you would need to define a date and place it in a cell for when you want the text erased. I was adding a 7 day buffer.
    So, if the date is in cell A1 and you want B1 to show "WAIT" if today is before the date in A1 or nothing when the date in A1 is reached you would use:
    =IF(A1>TODAY(),"WAIT","")

+ 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. [SOLVED] Erase Value in Adjacent Cell
    By redrocker12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2018, 02:23 PM
  2. [SOLVED] Code to erase formula but keep text for specific cells in range
    By Nitefox in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-21-2018, 07:28 PM
  3. [SOLVED] button erase dont erase an image inserted on an image control
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 08:04 AM
  4. How to erase some words on a cell?
    By Gravity101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-21-2013, 07:36 AM
  5. [SOLVED] Erase cell that are unprotect AND not in the first row.
    By Melisendk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 02:34 AM
  6. Macro to erase formulas and Save under same name + Date
    By vedranc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2010, 04:01 PM
  7. [SOLVED] how to erase all spaces in text cell?
    By D in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2006, 03:45 AM

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