+ Reply to Thread
Results 1 to 5 of 5

match closest date from within range matching ID number

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    20

    match closest date from within range matching ID number

    Hey guys, I have a similar issue as in this topic

    http://www.excelforum.com/excel-form...id-number.html

    However, the second part of the formula is not working

    =MAX(IF(DR!$AJ$3:$AJ$13788<=MA!$B$6,DR!$AJ$1:DR!$AJ$13788,""))

    I'm stuck with this formula. How should I include the condition that the company tickers should match?

  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: match closest date from within range matching ID number

    Hi,

    We really need to see your request in the context of your particular workbook. Please upload along with a reference to the cell you're talking about.
    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
    Registered User
    Join Date
    11-11-2015
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: match closest date from within range matching ID number

    Excelforum v6.xlsx

    See attachment!

    Thx for thinking with me!

  4. #4
    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: match closest date from within range matching ID number

    Can you explain what you are wanting to do. There are a mere handful of Tickers that are common to both sheets. It might help if you were to manually add some of the results that you expect.

  5. #5
    Registered User
    Join Date
    11-11-2015
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: match closest date from within range matching ID number

    Ok so basically
    - there is an acquiring company with a specific ticker
    - the acquiring company has acquired target at the date as specified in sheet MA
    - Sheet DR gives an important value/characteristic DR of the acquiring company for me (I want to compare this value between the annual report before and after the acquisition)

    However, it seems I cannot get to this important value at once

    Therefore I first want to get the date of the annual report of the acquiring company before AND after the acquisition date.
    Problematic is that not all reports are published at year end.

    So therefore I want to construct this function, to get the closest reporting date for the specific companies, before and after the acquisition date.

    I know that this small sample only gives some results. I can upload a larger one if you'd like.

+ 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. Match by ID number and closest date
    By Faith79 in forum Excel General
    Replies: 4
    Last Post: 06-30-2014, 02:29 AM
  2. Replies: 2
    Last Post: 12-04-2013, 01:01 PM
  3. Replies: 0
    Last Post: 10-11-2013, 05:24 AM
  4. Replies: 1
    Last Post: 01-17-2013, 05:27 PM
  5. [SOLVED] match closest date from within range matching ID number
    By adrianjaeggi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2012, 03:33 PM
  6. [SOLVED] match closest date in range but not greater than limits
    By Oldeuboi in forum Excel General
    Replies: 9
    Last Post: 11-25-2012, 12:15 PM
  7. find closest date (number) in a range
    By wamp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2010, 01:50 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