+ Reply to Thread
Results 1 to 2 of 2

Conditional Vlookup- Identify firm and closest observation to a specific date

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    2

    Conditional Vlookup- Identify firm and closest observation to a specific date

    Hey,

    I am really struggling to create a conditional VLOOK function. The VLOOK should identify not only the firm but also the rating that was attributed to the firm closest to a specific date ( end of quarter).
    E.G. I have a firm that has several rating in January , February, March but I only want the vlookup function to give me the firm rating that is closest to the end of Quarter 1 (31-03-2004).

    Do you have any suggestions?

    ISIN+ Quarter: Rating Day
    US92553P2011/Q1-2004 1 01-01-2004
    US92553P2011/Q1-2004 9 02-01-2004
    US92553P2011/Q1-2004 13 03-01-2004
    US92553P2011/Q1-2004 16 04-01-2004
    GB0007980591/Q1-2004 5 08-01-2004
    BRPETRACNPR6/Q1-2004 27 08-01-2004
    GB0007980591/Q1-2004 3 09-01-2004
    BRPETRACNPR6/Q1-2004 8 09-01-2004

    So , Basically if we are talking about "GB0007980591/Q1-2004" I would like the Vlookup function to return the rating: 3.

    I also attached the excel so that you can have a better idea of what I am talking about.

    Thanks in advance for the help.
    Conditional Vlook- Help.xlsxConditional Vlook- Help.xlsxAndre

  2. #2
    Registered User
    Join Date
    06-21-2012
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Conditional Vlookup- Identify firm and closest observation to a specific date

    Hey,
    Sorry for the table misformatting ,

    Here it is :

    ISIN+ Quarter: Rating Day
    US92553P2011/Q1-2004 1 01-01-2004
    US92553P2011/Q1-2004 9 02-01-2004
    US92553P2011/Q1-2004 13 03-01-2004
    US92553P2011/Q1-2004 16 04-01-2004
    GB0007980591/Q1-2004 5 08-01-2004
    BRPETRACNPR6/Q1-2004 27 08-01-2004
    GB0007980591/Q1-2004 3 09-01-2004
    BRPETRACNPR6/Q1-2004 8 09-01-2004

    And the two excel files that I attached in the previous thread are the same.

    Andre

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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