+ Reply to Thread
Results 1 to 2 of 2

Change cell based on value of another cell (dates and months)

  1. #1
    Registered User
    Join Date
    08-21-2014
    Location
    Leeds, England
    MS-Off Ver
    MS Office 2013
    Posts
    1

    Change cell based on value of another cell (dates and months)

    Hi

    Could anybody tell me how I would do the following please?

    I have a date in cell H3 which is 31/12/15 and I have text in cell O3 which is "12 Months".

    What I would like to happen is that what I type into O3 be automatically added on to the date in H3.
    ie I would like H3 to be 31/12/16.

    Can somebody help please?

    Thnx
    Em

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Change cell based on value of another cell (dates and months)

    Please find the attached sheet to see if this is what you are trying to achieve. The sheet1 contains a Worksheet_Change Event code. Right click on Sheet1 tab --> View Code to see the code.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. Replies: 8
    Last Post: 05-07-2014, 04:57 AM
  2. Change cell color based on a list of dates
    By Tej29 in forum Excel General
    Replies: 4
    Last Post: 12-18-2013, 03:57 PM
  3. Change cell colour based on expiry dates
    By lb2013 in forum Excel General
    Replies: 9
    Last Post: 11-15-2013, 01:51 AM
  4. [SOLVED] How to change cell value based on 12 months rolling date on other cell
    By buznac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2013, 07:30 PM
  5. [SOLVED] How to change cell colour based on numer of months?
    By Tiago in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2006, 08:25 AM

Tags for this Thread

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