+ Reply to Thread
Results 1 to 2 of 2

Matching Partial data in columns

  1. #1
    Registered User
    Join Date
    09-24-2007
    Posts
    9

    Matching Partial data in columns

    HI,

    I have two below columns in my spread sheet i.e column A and B. Now I would like to have the result "today" in column C if coulmun A date matches with column B.

    ------COLUMN A;-COLUMN B ;----COLUMNC
    10/9/2007 20:42 ; 10/9/2007 ; TODAY
    9/26/2007 19:55 ; 10/9/2007 ;
    9/26/2007 19:05 ; 10/9/2007 ;
    10/9/2007 20:42 ; 10/9/2007 ;
    9/26/2007 20:10 ; 10/9/2007 ;
    9/26/2007 22:20 ; 10/9/2007 ;
    10/9/2007 20:42 ; 10/9/2007 ;TODAY
    9/23/2007 18:52 ; 10/9/2007 ;

    Could anyone give some function or macro for this.
    your help appreciated.
    Last edited by ap_naveen; 10-09-2007 at 05:53 AM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =IF(TEXT(A1,"mm/dd/yy")=TEXT(B1,"mm/dd/yy")=TRUE,B1,"")
    or

    =IF(LEFT(A1,5)=LEFT(B1,5)=TRUE,B1,"")
    VBA Noob
    Last edited by VBA Noob; 10-09-2007 at 06:02 AM.
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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