+ Reply to Thread
Results 1 to 6 of 6

Populate Cell with specific Date

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Populate Cell with specific Date

    Hopefully a really simple question.

    I want to add a specific date, for example 01/01/1985, to a cell if A2 contains a Yes add "Specific Date" to B2. Is this possible?

    I know I can add todays date and add or subtract days using Today() or Now() but want it to always add this specific date to B2 if A1 contains a Yes.
    Last edited by smudgers9; 12-17-2020 at 04:45 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,426

    Re: Excel Dates

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-02-2020
    Location
    Paris, France
    MS-Off Ver
    Professional Plus 2013
    Posts
    41

    Re: Excel Dates

    Like she said...

    First you say you have a text in cell A2 that says "Yes add xx/xx/xxxx to B2" and you want to extract "xx/xx/xxxx" somewhere undefined.
    But then you say if cell A1 contains "Yes" you want to add "xx/xx/xxxx" in B2. Given that xx/xx/xxxx seems to be a fixed value.

    Which version is it ?
    The second one is veeery easy so it's probably not what you are asking for.
    ⭹ If this helped you, please add reputation

  4. #4
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Re: Excel Dates

    Post amended, apologies

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Populate Cell with specific Date

    Try:

    Please Login or Register  to view this content.
    Quang PT

  6. #6
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Re: Populate Cell with specific Date

    I knew it would be that simple

    Thank you so much, perfect solution.

+ 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. Excel 2003 calculate days between 2 dates but do not count dates specified
    By Ditch1983 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2017, 07:16 AM
  2. [SOLVED] Excel-represented dates vs. Human-readable dates in UDFs
    By IcyBricks in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2015, 01:50 PM
  3. Replies: 5
    Last Post: 01-13-2015, 01:42 PM
  4. [SOLVED] excel formula to help my calculation from min dates of 3 dates cell ranges
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2013, 10:32 AM
  5. Excel Dates copied from CSV file dont show as Dates
    By vew32 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2013, 09:30 AM
  6. Replies: 10
    Last Post: 09-04-2013, 08:34 PM
  7. Replies: 2
    Last Post: 04-14-2009, 06:43 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