Excel OnChange event

后端 未结 5 1022
清酒与你
清酒与你 2020-12-21 17:23

I want to update a cell with the date-time when a value is entered to another one so,

How can i change the value of the B column to the date-time when a value is e

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-21 17:48

    Try using

    =IF(A3<>"",IF(B3="",NOW(),B3),"")
    

    The values will be in column A and the time-stamp in column B. Also, you'll have to enable iterative calculations in the options.

    Note that this will generate a time-stamp only when a value is first entered in Column A. To use this, the way you want, instead of normally editing a cell's value, you'll have to delete it and re-enter a new value.

    I fear this is just a work-around and not a complete solution. I'll update this in case I find something more convenient.

提交回复
热议问题