+ Reply to Thread
Results 1 to 10 of 10

question about TODAY function to not affect previous cells

  1. #1
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    question about TODAY function to not affect previous cells

    Hello,

    I'm maintaining a woorksheet with expenses.

    To simplify the case, I will have only two columns in the sheet.
    so everyday I fill in the expenses I made for the day.

    Column A will be the date of the input, column B will be the amount of money I spent on that date.

    What I need is that whenever I fill in the amount in column B, it will automatically fill in the date OF TODAY in the A cell (to save me the hassle of inputting the date manually).

    I tried to do it with "TODAY" function, so I inserted in cell A3 the following function: =IF(B3="","",TODAY())
    the problem is, that everyday it automatically changes the cells with the TODAY function (the function I showed above), to the date of today, also for the previous filled in cells. But what I need is, that it will leave the previous cells the way it was.

    I see 3 solutions (but don't know how to implement them):
    1. after the function inputs the date of today, it will automatically re-paste it AS VALUES.
    2. I need to do another IF, inside the existing IF function.
    3. I need to use another function.

    attached excel with the function as an example.

    Thank you.
    Attached Files Attached Files
    Last edited by whatever61; 05-28-2010 at 05:24 PM. Reason: Solution found

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: question about TODAY function to not affect previous cells

    LOL
    xls is password protected
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    Re: question about TODAY function to not affect previous cells

    haha, sorry, my bad. re-uploaded the file.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: question about TODAY function to not affect previous cells

    Hi,

    A short-cut to input a today's date is Ctrl+;
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: question about TODAY function to not affect previous cells

    and in some machines <Ctrl>+<Shift>+<4>

  6. #6
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    Re: question about TODAY function to not affect previous cells

    well, that makes it easier indeed, thanks. still though I would like it to be filled automatically, if possible..

  7. #7
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: question about TODAY function to not affect previous cells

    Right click on your sheet and choose Viev Code
    copy ths code and paste it there

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    Re: question about TODAY function to not affect previous cells

    now that what I was looking for
    спасибо огромное

  9. #9
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: question about TODAY function to not affect previous cells

    да незачто!!!
    ну бывай
    Тока не забудь добавить очки (репутция). Кликни на значок весов что в правой части экрана )))

  10. #10
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    Re: question about TODAY function to not affect previous cells

    добавил -)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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