+ Reply to Thread
Results 1 to 11 of 11

Using date to populate cell

  1. #1
    Forum Contributor
    Join Date
    06-18-2013
    Location
    Barnsley
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    104

    Using date to populate cell

    Good morning all, Is there a formula or function I can use (perhaps a =IF?) where I can make a certain formula's value appear in a cell only after a certain date and time? I did find something on the forum that partially helped, however the date was hard coded into the formula and I would prefer it to look it to the other cell(I am 99% there).
    If you notice on my sample sheet, nothing is populated in B7 because the date is tomorrow.
    Any help would be appreciated as always so thank you in advance.

    Mark
    Attached Files Attached Files

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    Are you still using Excel 2016?
    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
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    Not clear, but is this what you want?

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    E
    1
    Date Apples Apples
    2
    01/09/2023
    4
    4
    05/09/2023
    3
    02/09/2023
    4
    4
    4
    03/09/2023
    4
    4
    5
    04/09/2023
    4
    4
    6
    05/09/2023
    4
    7
    06/09/2023
    4
    Sheet: Sheet1

    In B2 copied down:

    =IF(A2<E$2,C$2,"")

  4. #4
    Forum Contributor
    Join Date
    06-18-2013
    Location
    Barnsley
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    104

    Re: Using date to populate cell

    Thanks AliGW for the reminder. Changed it now to 365

  5. #5
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    And does my suggestion help? I wasn't clear on your intentions.

  6. #6
    Forum Contributor
    Join Date
    06-18-2013
    Location
    Barnsley
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    104

    Re: Using date to populate cell

    Thank you for the reply and sorry for not being clear, essentially what I wanted was the date part in the formula in B2 =IF(NOW()>DATEVALUE("01/09/2023")+TIME(16, 0, 0), C2, "")
    to reference the date in A2, at the moment the date is hard coded into the formula.
    Hope that makes sense.

  7. #7
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    Do you mean this?

    =IF(NOW()>A$2+TIME(16, 0, 0), C$2, "")

    Seems an odd thing to be doing - if you explained your reasoning, you'd probably get better advice!

  8. #8
    Forum Contributor
    Join Date
    06-18-2013
    Location
    Barnsley
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    104

    Re: Using date to populate cell

    Thank you but it is hard to explain sometimes but thank you for the help and your not very nice comment at the end!

  9. #9
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    What was not very nice about it? I was suggesting that you explain the context because there may be a better way to do what you are doing! I was being pragmatic. What a strange reaction to someone offering to coach you!!!

  10. #10
    Forum Contributor
    Join Date
    06-18-2013
    Location
    Barnsley
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    104

    Re: Using date to populate cell

    Fair enough, apologies for being prickly. I appreciate the help and reputation added

  11. #11
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Using date to populate cell

    I'll let you off - this time. It was completely uncalled for, though, and it might have made me less inclined to offer you help and advice in the future.

    What you are doing in that formula does not look efficient, but if you won't share the wider picture, then I can't guide you and give you the benefit of my own experience.

+ 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] Populate Cell with specific Date
    By smudgers9 in forum Excel General
    Replies: 5
    Last Post: 12-17-2020, 05:02 AM
  2. Replies: 5
    Last Post: 07-18-2020, 11:46 AM
  3. [SOLVED] Populate cell based on date, if not date then blank
    By Lungfish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2017, 08:42 PM
  4. Populate cell with current date and time, then lock cell
    By panny in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2012, 06:13 PM
  5. [SOLVED] Populate Cell with Q1, Q2, Q3 or Q4 depending on date
    By SVTF in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-01-2012, 11:25 AM
  6. Populate date based on a date in another cell
    By ascottbag in forum Excel General
    Replies: 8
    Last Post: 01-30-2011, 02:11 PM
  7. How to populate a value in the cell based on date?
    By smaturu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2006, 07:53 AM

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