+ Reply to Thread
Results 1 to 5 of 5

Help with formula needed to apply current date when balance changes

  1. #1
    Registered User
    Join Date
    09-11-2008
    Location
    Madrid
    Posts
    6

    Help with formula needed to apply current date when balance changes

    Hi all

    I have attached a sample of my spreadsheet, in it I want the date cell to show the current date but only when the amount is altered in that corresponding row.

    i.e

    If the amount changes up or down in colomn A2 then F2 displays the current date on which it was changed.

    I have searched the site and I only found "DATE STAMPING" which is not what I'm after.

    I would appreciate any help or advise

    Many thanks
    Attached Files Attached Files
    Last edited by manyounited; 09-11-2008 at 07:54 AM.

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    The only way to do it is with a macro. I have added the following to the Sheet1 tab in VBA

    Please Login or Register  to view this content.

    Does that help?

    Regards

    Dav
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-11-2008
    Location
    Madrid
    Posts
    6
    Dav,

    Many thanks for your reply, the macro works in the sample but I don't understand how to adapt the code for other purposes.

    For example, the sample spreadsheet I uploaded was a cut and paste section of a working spreadsheet I have but in the working sheet the balances are in column "I" and the dates are in column "N", and this code doesn't work.

    I would appreciate it if you could explain how to alter the code to suit my application?

    Thanks

  4. #4
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    well if you go to the code

    open spreadsheet

    press alt F11 to bring up the vba window

    double click on sheet1 to bring up the code

    if you see where it says columns("A") just replace the A with an I. The date column is still five columns to the right so the offset function does not need changing

    Regards

    Dav

  5. #5
    Registered User
    Join Date
    09-11-2008
    Location
    Madrid
    Posts
    6
    Dav you are an absolute starr, thank you very much for your help and patience.

    Manu

+ 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. Insert Current date
    By cannon_lab in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-12-2015, 07:35 AM
  2. Advanced Timesheet
    By DaKohlmeyer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2008, 04:49 PM
  3. generating date range from current date
    By dexelguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2008, 04:52 PM
  4. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  5. Replies: 3
    Last Post: 06-18-2007, 03:33 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