+ Reply to Thread
Results 1 to 4 of 4

How to find the largest value in column T then paste into Cell

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    How to find the largest value in column T then paste into Cell

    Hello All,
    I'm looking for the code how to find the largest value in column T then paste that value into Cell "T14".
    Let says:

    T15 = 5 DAYS
    T16 = 5 DAYS
    T17 = 7 DAYS
    T18 = 3 DAYs
    T19 = 12 DAYS
    T & Last Row

    Then copy 12 DAYS to Cell "T14".

    Regards,
    tt3
    Last edited by tuongtu3; 12-29-2012 at 06:29 PM. Reason: Solved

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to find the largest value in column T then paste into Cell

    Hi,

    If each cells contains both a number and the word 'DAYS' then the simplest approach would be to create a helper column (say column U) which contains only the number and in T14 enter =MAX(U:U). U15 copied down would contain the formula =VALUE(LEFT(T15,LEN(T15)-5))
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: How to find the largest value in column T then paste into Cell

    In Vba something like.
    Please Login or Register  to view this content.
    Kind regards, Harry.

  4. #4
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Re: How to find the largest value in column T then paste into Cell

    @Richard Buttrey: Thank you for your information.
    @Harry: The code works.

    Thank you very much for your time and help.

    Regards,
    tt3

+ 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