+ Reply to Thread
Results 1 to 3 of 3

help trimming off text for a date

  1. #1
    Registered User
    Join Date
    10-26-2004
    Posts
    22

    help trimming off text for a date

    I have a cell that has "Date: 04/10/05" I am going crazy trying to figure out a way to get just the date part then add a day to it. Anyone have any ideas? I have tried a few things such as setting the formatting as a date, then using the left function to get just the date, then trying to reference that cell and add 1 to it. any help would be greatly appreciated. Thanks

    garrett

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Assuming that 04/10/05 is formatted as mm/dd/yy, try the following...

    =DATEVALUE(RIGHT(A1,8))+1

    Hope this helps!

  3. #3
    Registered User
    Join Date
    10-26-2004
    Posts
    22
    That works! Thanks! I also found another way for this too....


    ="Report Printed on "&TEXT((RIGHT(C2,7)+1),"mmmm d, yyyy at h:mm AM/PM")
    your answer is simplier though

+ 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