+ Reply to Thread
Results 1 to 4 of 4

If the value of AK5 > than the value of AE5, automatically change the value of AE5

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    If the value of AK5 > than the value of AE5, automatically change the value of AE5

    Hello, could anyone help me by suggesting a formula for the following problem please?

    AE5 and AK5 will both have dates written in them.

    If the date in AK5 is later than the date in AE5, I want the date in AE5 to reset and match the date in AK5.

    Would anybody know the formula for this?

    Thank you very much in advance.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: If the value of AK5 > than the value of AE5, automatically change the value of AE5

    You would have to use a macro/VBA to do this. You can't have a formula and a value in AE5 at the same time.

    - Moo

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: If the value of AK5 > than the value of AE5, automatically change the value of AE5

    Something basic like this might work:
    Please Login or Register  to view this content.
    If you want to make this change down multiple columns the code can be changed to do so.

    - Moo

  4. #4
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: If the value of AK5 > than the value of AE5, automatically change the value of AE5

    Here's code that will propagate the routine down multiple rows for the rows you specify:
    Please Login or Register  to view this content.
    - Moo

+ 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