+ Reply to Thread
Results 1 to 8 of 8

Need to find a date and if fount replace and if not make new line

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    holland
    MS-Off Ver
    Excel 210
    Posts
    4

    Need to find a date and if fount replace and if not make new line

    Hello,

    I have a problem with finding a code,

    I have a sheet (call "Blad") with a date in "F2" and in A5:A8 information

    nou i whant the second sheet ("data") in this sheet is the first colum the dates en de 2nd till 7th the information

    now i whant if the date in F2 the same is as in the data sheet he replace the information behind that date
    if the date is not exist he must make a new line

    hope someone can help me thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Need to find a date and if fount replace and if not make new line

    To make it easier to understand, could you post a copy of your file that includes another sheet that shows what you want your final result to look like after you run the macro?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need to find a date and if fount replace and if not make new line

    Not sure, but see if this helps?

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-05-2013
    Location
    holland
    MS-Off Ver
    Excel 210
    Posts
    4

    Re: Need to find a date and if fount replace and if not make new line

    Thanks John,

    something like this but why he can not find or write the date?
    and if i put numbers in it it write only once how is that possible.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need to find a date and if fount replace and if not make new line

    Quote Originally Posted by Tom1687 View Post
    Thanks John,

    something like this but why he can not find or write the date?
    and if i put numbers in it it write only once how is that possible.
    I'm only guessing. Perhaps you should take the suggestion given by Mumps1, so we'll know exactly what you're trying the achieve.

  6. #6
    Registered User
    Join Date
    03-05-2013
    Location
    holland
    MS-Off Ver
    Excel 210
    Posts
    4

    Re: Need to find a date and if fount replace and if not make new line

    Yes but jou dit it on the corrects sheets john so i do not understand what mumps1 means

    the firts sheet (Blad) are the information what i put in
    de second sheet (Data) must be the database

    en the informtion what are in the file what he asks

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need to find a date and if fount replace and if not make new line

    When I tested it on your sample, it found the date. But I'm not sure the pasting is what you want.

  8. #8
    Registered User
    Join Date
    03-05-2013
    Location
    holland
    MS-Off Ver
    Excel 210
    Posts
    4

    Re: Need to find a date and if fount replace and if not make new line

    if i test the date i don't work

    i put another example with better explanation i hope
    Attached Files Attached Files

+ 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. Find/Replace one line with multiple lines
    By ugonow in forum Excel General
    Replies: 4
    Last Post: 03-13-2013, 11:59 PM
  2. Find / Replace with new line
    By drew138 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2009, 07:13 PM
  3. Find/Replace with Manual Line Break
    By rkohlman in forum Excel General
    Replies: 1
    Last Post: 12-19-2006, 02:25 PM
  4. Replies: 1
    Last Post: 04-19-2005, 11:06 AM
  5. Adding line breaks by using find and replace
    By soozie in forum Excel General
    Replies: 3
    Last Post: 03-06-2005, 08:06 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