+ Reply to Thread
Results 1 to 8 of 8

How to handle Dates based on the value of a cell being changed ?

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    13

    How to handle Dates based on the value of a cell being changed ?

    Please view the attachment.

    I want that if I change Status (C2) from "Not Started" to "In Progress":

    a) Cell A3 should contain the date on which Status is changed to In Progress from Not Started.
    b) Cell B3 should contain the date on which Status is changed to some other value from In Progress. (A3 remains unchanged)EG - Copy.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to handle Dates based on the value of a cell being changed ?

    Have you attached the right file?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-20-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: How to handle Dates based on the value of a cell being changed ?

    EG - Copy.xlsx

    Sory, Please see now.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to handle Dates based on the value of a cell being changed ?

    You cannot use formula for this one.. you have to go for VBA approach..

    Do right click on the sheet tab and select view code and paste the below code. Return to excel and check.

    Please Login or Register  to view this content.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to handle Dates based on the value of a cell being changed ?

    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    08-20-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: How to handle Dates based on the value of a cell being changed ?

    My Requirement is:

    1. Initially Status will have "Not Started" and thus, Start Date and End Date must be Blank.

    2. If Status changes to "In Progress", Start Date should be the date on which I changed value from "Not Started" to "In Progress". And End Date should be Blank.

    3. If Status changes from "In Progress" to "some other value". Start Date should be similar to above point and it must not be changed. However, End Date should be filled with the date on which I changed from "In Progress" to "some other value".

  7. #7
    Registered User
    Join Date
    08-20-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: How to handle Dates based on the value of a cell being changed ?

    Can any1 help me with this ?

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to handle Dates based on the value of a cell being changed ?

    Did you checked the links that i provided?

    The results that you have in your sample are corect and your problem is thst using TODAY() function the results changes every single day?

+ 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] Cell color will be changed based on its value compare with previous cell value
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-02-2013, 02:09 PM
  2. [SOLVED] Compare cells with text (words, dates and symbols) to see if the cell has changed
    By brewcitybiz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2013, 11:52 AM
  3. Changing values based on which cell is changed within a range.
    By ronnie301184 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-11-2012, 05:25 AM
  4. Replies: 3
    Last Post: 04-23-2010, 07:02 AM
  5. Replies: 3
    Last Post: 04-05-2007, 05:44 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