- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
re: Need excel help - automate text to date time format
Posted on 6/1/23 at 2:17 pm to castorinho
Posted on 6/1/23 at 2:17 pm to castorinho
This is assuming K1 has the date/time string.
=DATEDIF(DATEVALUE(INDEX(TEXTSPLIT(K1," "),2) & " " & INDEX(TEXTSPLIT(K1," "),3) & ", " & INDEX(TEXTSPLIT(K1," "),4)) +TIMEVALUE(INDEX(TEXTSPLIT(K1," "),5)),NOW(),"yd")
=DATEDIF(DATEVALUE(INDEX(TEXTSPLIT(K1," "),2) & " " & INDEX(TEXTSPLIT(K1," "),3) & ", " & INDEX(TEXTSPLIT(K1," "),4)) +TIMEVALUE(INDEX(TEXTSPLIT(K1," "),5)),NOW(),"yd")
Popular
Back to top
Follow TigerDroppings for LSU Football News