+ Reply to Thread
Results 1 to 4 of 4

Look for the longest date from 4 columns and certain conditions

  1. #1
    Registered User
    Join Date
    12-29-2014
    Location
    Indonesia
    MS-Off Ver
    Office 2010,2007
    Posts
    86

    Look for the longest date from 4 columns and certain conditions

    hi all

    I want to find the longest date from the column "date nonacr", "date od", "date due", "date branch" based on account number. If there is a decrease in outstanding, then the oldest date only sees from the column "date nonacr", "date due "and" date branch "only. Please provide the appropriate formula information.

    Thank you in advance.

    note : sample file attached


    regard

    dolphino
    Attached Files Attached Files
    Last edited by AliGW; 07-06-2020 at 03:21 AM. Reason: Irrelevant section of title removed.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,353

    Re: Formula to-> Look for the longest date from 4 columns and certain conditions

    Please attach the workbook in .xlsx format. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    12-29-2014
    Location
    Indonesia
    MS-Off Ver
    Office 2010,2007
    Posts
    86

    Re: Look for the longest date from 4 columns and certain conditions

    hi AliGW

    sample in xlsx format already attached, kindly help for this.

    thank you
    regard.
    Attached Files Attached Files

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    UK
    MS-Off Ver
    various
    Posts
    1,889

    Re: Look for the longest date from 4 columns and certain conditions

    a few options, one would be:

    =CHOOSE(1+(O4<P4),MIN(K4:N4),MIN(K4,M4:N4))

+ 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. Looking for the longest date from 4 columns
    By dolphino in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2020, 03:38 AM
  2. [SOLVED] List unique values from 2 columns and find out Longest and Shortest Duration
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-13-2015, 07:52 AM
  3. [SOLVED] Looking for a date for a given 3 conditions in vertical columns
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2015, 11:31 AM
  4. [SOLVED] Reorder columns from shortest to longest
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-06-2015, 08:22 AM
  5. Macro to select longest column (date period)
    By bryan444 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 12-06-2012, 04:40 AM
  6. Need help calculating the longest streak in a date series
    By SeanMulholland in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2010, 07:13 PM
  7. Longest Entry in Columns
    By Rebecca in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-26-2005, 12:07 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