+ Reply to Thread
Results 1 to 4 of 4

Cell equal to sheet name but change to date

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Cell equal to sheet name but change to date

    Hello,

    Using this formula, =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256) I can have a cell equal the name of the sheet it is in.

    But lets say the sheet is named 5.22.19, Can this formula be changed so that it converts that to a date?

    Thanks,
    Nick

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Cell equal to sheet name but change to date

    Try this:

    =SUBSTITUTE(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256),".","/")+0

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Cell equal to sheet name but change to date

    Beautiful! Thank you AM63falcondude

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Cell equal to sheet name but change to date

    You're welcome. Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. [SOLVED] Change code so macro activates when entry date is older or equal to current date
    By Big.Moe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2017, 10:59 PM
  2. If range value change, active cell equal date and time of change.
    By kmakjop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2015, 02:43 PM
  3. Make Sheet equal cell value + Date
    By PJenkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2014, 07:40 PM
  4. [SOLVED] Copy data from one sheet to another if the date is equal or higher than a gien date
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2013, 02:57 PM
  5. Replies: 1
    Last Post: 09-28-2013, 05:01 AM
  6. Automatically Change Sheet Tab Name With Date in Cell
    By chrisneu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2011, 11:34 PM
  7. Macro to change date format and then run function based on greater than or equal to
    By Libster78 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2010, 09:37 AM

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