R
Rick Rothstein
And that is correct... A2 is your INPUT value (a date in THIS year)... if
you Format G2 as Date, the 39450 will turn into the same date as in A2, but
for the previous year. A2 will NOT change... it is your INPUT value... G2
will change because it displays the result of the formula which operates on
the value in A2. There is NO formula you can use to change the value in your
INPUT cell (A2)... you either type into a cell or a formula creates a value
in a cell... you cannot do both in a single cell. If that is, indeed, what
you are trying to do (change the value of what you enter into A2), you will
need to use a VB solution (but it is not recommended as you will have no
traceable record of how the value got into the cell).
--
Rick (MVP - Excel)
you Format G2 as Date, the 39450 will turn into the same date as in A2, but
for the previous year. A2 will NOT change... it is your INPUT value... G2
will change because it displays the result of the formula which operates on
the value in A2. There is NO formula you can use to change the value in your
INPUT cell (A2)... you either type into a cell or a formula creates a value
in a cell... you cannot do both in a single cell. If that is, indeed, what
you are trying to do (change the value of what you enter into A2), you will
need to use a VB solution (but it is not recommended as you will have no
traceable record of how the value got into the cell).
--
Rick (MVP - Excel)
FangYR said:one more thing.
4) G2 reads 39450