+ Reply to Thread
Results 1 to 3 of 3

Dates

  1. #1
    Registered User
    Join Date
    03-16-2006
    Posts
    81

    Dates

    What i need to do is have 3 cells automatically update from a date specified in another cell. One cell would always show 2 months before the date, another cell would show 1 month before the date and the other cell would show the same date as the cell (last one is easy enough).

    So if in Cell A1 i put 01/04/07, then cell C1 would automatically show 01/02/07 and cell C2 would automatically show 01/03/07. If i change the date in cell A1, Cells C1 & C2 would always show two and one months before that date.

    Is there a formula that i could use to do this???

    Thanks in advance

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,445
    If your date is in E7,

    =DATE(YEAR(E7),MONTH(E7)-1,DAY(E7))

    will give you a month prior

    and

    =DATE(YEAR(E7),MONTH(E7)-2,DAY(E7))

    will give you two months prior

    hth

    Dave

  3. #3
    Registered User
    Join Date
    03-16-2006
    Posts
    81

    Smile

    Many thanks Sweep, works a treat

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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