Results 1 to 6 of 6

Thread: inserting date

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    24
    Rep Power
    0

    inserting date

    i dont know how explain my problem i just want excel file as sheet m from sheet l (changing sheet l to sheet m) please send me vba code
    the date of height should be reapeted as you see in sheet m column c (in sheet l the date is as title so when i want to have max and min i cant get the date of it )
    i think i explained very well!
    Attached Files Attached Files
    Last edited by CORAL; 08-03-2014 at 10:42 AM.

  2. #2
    Senior Member alansidman's Avatar
    Join Date
    Apr 2012
    Posts
    125
    Rep Power
    13
    Please try to explain in simple English what you are looking for. Your file contains no explanation and my crystal ball is broken, so I don't understand what you wish to happen as the files show no correlation to each other.

  3. #3
    Senior Member LalitPandey87's Avatar
    Join Date
    Sep 2011
    Posts
    222
    Rep Power
    13
    In the file, you have attached, in I sheet column c is not available thats it.

  4. #4
    Junior Member
    Join Date
    Feb 2014
    Posts
    24
    Rep Power
    0
    dont know how explain my problem i just want excel file as sheet m from sheet l (changing sheet l to sheet m) please send me vba code
    the date of height should be reapeted as you see in sheet m column c (in sheet l the date is as title so when i want to have max and min i cant get the date of it )
    i think i explained very well!

  5. #5
    Member rollis13's Avatar
    Join Date
    Nov 2012
    Posts
    36
    Rep Power
    0
    Have a try (no VBA):
    Copy this formula in Sheet l cell C1

    =MID(B1,SEARCH("????/??/??",B1),10)

    Copy this other formula in Sheet l cell C2 and then copy down

    =IF(ISERROR(MID(B2,SEARCH("????/??/??",B2),10)),C1,MID(B2,SEARCH("????/??/??",B2),10))
    Last edited by rollis13; 08-05-2014 at 02:07 AM.

  6. #6
    Junior Member
    Join Date
    Aug 2014
    Posts
    10
    Rep Power
    0
    In C1:
    =RIGHT(B1,10)

    In C2:
    =LEFT(REPLACE(B2,1,FIND("Date",B2&"Date")+5,"")&C1 ,10)

    Copy down.

Similar Threads

  1. Inserting Image In VBA User Form Caption
    By littleiitin in forum Download Center
    Replies: 3
    Last Post: 02-22-2021, 03:07 PM
  2. Inserting time in spreadsheet
    By papabill in forum Excel Help
    Replies: 17
    Last Post: 10-25-2013, 01:34 PM
  3. Compare Date Columns In Excel And Pull The Latest Date
    By marentette010 in forum Excel Help
    Replies: 1
    Last Post: 07-31-2013, 11:56 PM
  4. Replies: 5
    Last Post: 06-15-2013, 12:40 PM
  5. Replace Incorrect Date In Cell To Another Valid Date
    By DARSHANKmandya in forum Excel and VBA Tips and Tricks
    Replies: 2
    Last Post: 03-21-2013, 09:27 PM

Posting Permissions

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