Link to home
Start Free TrialLog in
Avatar of andre72
andre72

asked on

Add Days to a date using Excel

Hi,

Iin a cell I've a date format like that:
2011-04-02T19:23:45.000Z

Now I like to add some days to it ...

What is the right way to do so?

Thanks

Andre
Avatar of SiddharthRout
SiddharthRout
Flag of India image

I would use this simple formula

=VALUE(LEFT(A1,10))+1

and custom format the cell to "yyyy-mm-dd"

Sid
Or this, in case I do not want to manually format the cell.

=TEXT(VALUE(LEFT(A1,10))+1,"yyyy-mm-dd")

Sid

BTW I am assuming that Cell A1 contains 2011-04-02T19:23:45.000Z
ASKER CERTIFIED SOLUTION
Avatar of SiddharthRout
SiddharthRout
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial