+ Reply to Thread
Results 1 to 4 of 4

Combining If and Lookup for Complicated Data

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Combining If and Lookup for Complicated Data

    Hi

    I have to match year-ended of each firm with market value (MV). In my criteria, I am looking for value of MV 4 months after the firm's year-ended.

    For example: If firm A has its year-ened 30/06/07, I am looking for MV at the date 31/10/07 (another issue is sometimes the date for MV can be 29/10/07, not 31/10/07; however it can be varied +- 7 days of the firm's year-ended date).

    Please can you help me how to match these data. I also attach the sample of my data.

    Thank you very much.
    Attached Files Attached Files
    Last edited by than_k22; 10-16-2010 at 03:32 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,330

    Re: Combining If and Lookup for Complicated Data (Sample is attached)

    Hi than_k22,
    There is not data attached. Click on "Go Advanced" and then the paperclip icon above the message area to attach a file. You can press the Green Edit button to get back to your message to attach the file.

  3. #3
    Registered User
    Join Date
    07-25-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Combining If and Lookup for Complicated Data (Sample is attached)

    Thanks... the sample is already attached.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Combining If and Lookup for Complicated Data (Sample is attached)

    Based on the sample - and assuming "dscodes" in results table are not always to be listed in identical fashion to the source table listing

    L3:
    =IF(ISNUMBER(C3),LOOKUP(DATE(YEAR(C3),MONTH(C3)+5,0),$C$15:$AZ$15,INDEX($C$16:$AZ$23,MATCH($B3,$B$16:$B$23,0),0)),"NA")
    applied to matrix L3:N10

+ 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