Consulting

Results 1 to 3 of 3

Thread: How to search a text and get the third row of from it.

  1. #1

    Post How to search a text and get the third row of from it.

    Dear all,

    Can any one help on this,

    I have added a excel file. from the sheet 2 i need to get the date .
    In field sheet2 - G7 (and the same for all the other records) there is the value date?
    Would it be possible to replace this value by the first date encountered for the product in the sheet “sheet1”
    Ex:
    For “Nokia” it would be 9/28/1994.
    For “[FONT='Arial','sans-serif']Samsung” it would be 2/13/1998 [/FONT]

    Please find the attachment for the same.

    Please any one help , its urgent for me,


    Thanks in Advance,

    Regards
    Selva.C
    Attached Files Attached Files

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    =OFFSET(Sheet1!$A$1,INDEX(MATCH(G4,Sheet1!A:A,0)+4,1),1)
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3

    Smile

    Great ,
    Thanks a Lot , Its working fine.

    Regards,
    Selva.C

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •