+ Reply to Thread
Results 1 to 8 of 8

find the last change in column and get date value

  1. #1
    Registered User
    Join Date
    11-20-2018
    Location
    greece
    MS-Off Ver
    2019
    Posts
    53

    find the last change in column and get date value

    i have a headache today. i am trying to do many things to my projects and cant manage .
    but one that stubborn me i am asking your help to solve it
    so i have a range with dates and data every row is the next day the data might be steady or might be changed but someday will be the last change
    so which day is this? my question is to find the date to the last change of value in range datalookup changed value.xlsx

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,193

    Re: find the last change in column and get date value

    Try this:

    =LOOKUP(2,1/(B:B<>""),A:A)

    You'll need semi-colons instead of commas.

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    date data
    #VALUE!
    14/01/2017
    2
    01/01/2017
    121
    3
    02/01/2017
    121
    4
    03/01/2017
    122
    5
    04/01/2017
    123
    6
    05/01/2017
    123
    7
    06/01/2017
    123
    8
    07/01/2017
    123
    9
    08/01/2017
    123
    10
    09/01/2017
    123
    11
    10/01/2017
    123
    12
    11/01/2017
    123
    13
    12/01/2017
    123
    14
    13/01/2017
    124
    15
    14/01/2017
    124
    Sheet: F????1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-20-2018
    Location
    greece
    MS-Off Ver
    2019
    Posts
    53

    Re: find the last change in column and get date value

    thank you for the fast responce
    but the result was the last value in a column
    i dont want this. the result must be 13/01/2017 the day that the value changes from 123 to 124 and is the last change in b column

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,193

    Re: find the last change in column and get date value

    OK. Try this:

    =INDEX(A:A,MATCH(LOOKUP(2,1/(B:B<>""),B:B),B:B,0))

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,996

    Re: find the last change in column and get date value

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You'll probably need to change commas to semi-colons and Array-Enter the formula . . . commit with Ctrl-Shift-Enter rather than just Enter.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Registered User
    Join Date
    11-20-2018
    Location
    greece
    MS-Off Ver
    2019
    Posts
    53

    Re: find the last change in column and get date value

    thank you aliGW i had to do some adjustments to my workbook but all seems to work perfect
    i will try and your TMS !!!
    KISSES BYE

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,193

    Re: find the last change in column and get date value

    You're welcome.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,996

    Re: find the last change in column and get date value

    You're welcome. Thanks for the rep.

+ 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. [SOLVED] Formula to find most recent oil change date, then compare it to current date
    By Modify_inc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2022, 03:05 PM
  2. Replies: 2
    Last Post: 02-28-2018, 10:01 AM
  3. Loop through column to find EID then find date and paste corresponding data
    By CieloSalas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2017, 06:33 PM
  4. Replies: 3
    Last Post: 12-16-2015, 05:56 PM
  5. [SOLVED] find value in column F and change valuein column D and E corespoding to the same row how?
    By jay11 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-09-2015, 02:23 PM
  6. Replies: 5
    Last Post: 10-14-2010, 01:06 AM
  7. Code change below to find the Customer column by name rather than column letter
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-24-2009, 04:59 PM

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