+ Reply to Thread
Results 1 to 2 of 2

Finding a value using LARGE based on a date value in same row

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    461

    Finding a value using LARGE based on a date value in same row

    Hello,

    I am using the following formula to lookup a value in column A.

    =INDEX(ACCOUNTS!A:A,MATCH(LARGE(ACCOUNTS!$H$4:$H$100,1),ACCOUNTS!H:H,0))

    Is is possible to return the first result if a date in the same row in column B is no older than 7 days?

    For example, it finds the first largest amount, but the date in column B of the same row is older than 7 days, so it will go on to the next largest sum.

    Sounds complicated, not sure if it can be done.

    But thanks for any help.

    Nick

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Finding a value using LARGE based on a date value in same row

    Try something like this

    =INDEX(Accounts!A4:A100,MATCH(LARGE(IF(B4:B100>TODAY()-7,Accounts!$H$4:$H$100,0),1),IF(B4:B100>TODAY()-7,Accounts!$H$4:$H$100,0),0))
    entered as an array formula (control + shift + enter)
    Happy with my advice? Click on the * reputation button below

+ 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] Finding Dates Within Date Range (Based on Today's Date) Whilst Matching Name?
    By EduardStoo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-08-2019, 10:31 AM
  2. [SOLVED] Finding Sales based on Name and Date
    By vangamut in forum Excel General
    Replies: 9
    Last Post: 12-18-2018, 08:42 AM
  3. [SOLVED] Finding minimun value based on date less than today
    By windme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2018, 11:10 AM
  4. Finding 3 largest values using LARGE function based on criteria in another column
    By cathyharland in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2018, 02:17 AM
  5. Finding Nearest date in a range based on critera date
    By skate1991 in forum Excel General
    Replies: 5
    Last Post: 07-22-2015, 02:10 PM
  6. [SOLVED] Finding a date from a row based on cell
    By cantona_lives in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-04-2014, 08:30 AM
  7. [SOLVED] Finding the Monday date based on a different date in same week
    By dandiehl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2006, 01:10 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