+ Reply to Thread
Results 1 to 4 of 4

Formula help - If (a specific cell) contains any values, then give me the current date.

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    manchester
    MS-Off Ver
    Excel 2010
    Posts
    13

    Lightbulb Formula help - If (a specific cell) contains any values, then give me the current date.

    My excel spreadsheet is attached.

    In the date column, I want it to look at the order number column, and, once an order number is typed in, I want the date column to automatically show the current date. So for every order number typed in, it will show the date that this happened.

    I know that =TODAY would change the date every day that passes and this would be inaccurate.

    Hope this makes sense, please help

    Thanks in advance Automotive Order Number Template - V2016 - Month - various tabs.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo
    MS-Off Ver
    2016 (365)
    Posts
    322

    Re: Formula help - If (a specific cell) contains any values, then give me the current date

    Only by macro with Worksheet Event Change

    Lets say Date Column is A and the Order Column is B

    Please Login or Register  to view this content.

  3. #3
    Forum Guru Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    24,318

    Re: Formula help - If (a specific cell) contains any values, then give me the current date

    There are a couple of ways to do this. Here's a simple formula-based approach. I had to remove the data validation in column N. If you want the date to update automatically, you won't need it... To get this to work; you need to enable iterative calculatios.

    FILE/OPTIONS/FORMULAS/Enable iterative calculations. I've already done that. In N9, copy down:

    =IF(M9="ENTER CENTRE","",IF(N9="",NOW(),N9))

    Do whatever you need to do to change any cell in column M9 doe=wnawards to anything other than ENTER CENTRE. This will put a non-updating date in the corresponding cell in column N. if you don't want to have to wait till tomorrow; format N as time and check it out...
    Glenn



  4. #4
    Forum Guru Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula help - If (a specific cell) contains any values, then give me the current date

    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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