+ Reply to Thread
Results 1 to 6 of 6

Auto inputting date

  1. #1
    Registered User
    Join Date
    10-03-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    67

    Auto inputting date

    Hi All
    This my seem trivial to some but as a newbie I'm trying but frustrated trying to get it correct. I'm trying to auto input a date when I enter a final approved amount. The formula I am trying to use is =IF(MOD(H5,1)="$",THEN(J5=TODAY())) and I seem to not be getting it right. Any help would be appreciated.
    I upload a excell sheet to help explain myself.
    Regards
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-15-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2013
    Posts
    54

    Re: Auto inputting date

    You do not need a then statement
    =IF(H5<>"",TODAY(),"")

    That would be the formula that if H5 has a value in it, it would put the date in the cell and make sure the cell is in date format!

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: Auto inputting date

    Will column H only have a value in it if it is approved?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Auto inputting date

    Two issues:

    1. What criteria determines the date being entered into column J? Your currently formula tries to use MOD, but makes no sense.
    2. The TODAY() function will change the date in that cell every day. Is this what you want, or did you want to paste a date value into column J?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  5. #5
    Registered User
    Join Date
    10-03-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    67

    Re: Auto inputting date

    Thanks All for your help. WJK221 your formula work great and yes alansidman you are correct as I only require the date to be entered once the approved amount is entered.. OllyXLS thanks your your input as I am still trying to figure the formuals out by looking at other posts in the forum so I don't have to bother any one. It gets frustrating when every time I try and enter a formula it keeps coming up error!
    Get up the great work
    Regards ALL

  6. #6
    Registered User
    Join Date
    10-03-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    67

    Re: Auto inputting date

    Thanks All for your help. WJK221 your formula work great and yes alansidman you are correct as I only require the date to be entered once the approved amount is entered.. OllyXLS thanks your your input as I am still trying to figure the formuals out by looking at other posts in the forum so I don't have to bother any one. It gets frustrating when every time I try and enter a formula it keeps coming up error!
    Get up the great work
    Regards ALL

  7. #7
    Registered User
    Join Date
    10-03-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    67

    Re: Auto inputting date

    Sorry for the duplicate line

+ 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. Inputting invoice date need month end date
    By MjRmatt in forum Excel General
    Replies: 4
    Last Post: 10-14-2011, 10:13 AM
  2. Auto inputting figures
    By dollydoodah in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-18-2009, 05:30 PM
  3. Replies: 2
    Last Post: 12-05-2008, 12:01 PM
  4. Inputting Todays time and date Query
    By Newson in forum Excel General
    Replies: 2
    Last Post: 04-23-2007, 07:56 AM
  5. How can I set Microsoft Excel to display the day by inputting the date?
    By alexbutterfield in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-21-2007, 12:37 PM

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