Pull date from text string into new column

PaulColbert
NewLounger
Posts: 1
Joined: 23 Aug 2023, 02:55

Pull date from text string into new column

Post by PaulColbert »

Hello,
It's a great way to explore and discover new sexual fantasies and kinks in a safe and non-judgmental environment.


https://thegaywebcamchat.com/teen
https://couplesexcam.net/deepthroat
https://thegaylivechat.com/feet
Last edited by PaulColbert on 12 Mar 2024, 03:50, edited 1 time in total.

User avatar
HansV
Administrator
Posts: 78487
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pull date from text string into new column

Post by HansV »

Welcome to Eileen's Lounge!

Let's say the text strings are in D2 and down.
The date is returned by

=DATEVALUE(SUBSTITUTE(RIGHT(D2,11)," ","-"))

and to test whether the date is more than 85 days before today, you can use

=DATEVALUE(SUBSTITUTE(RIGHT(D2,11)," ","-"))<85

=DATEVALUE(SUBSTITUTE(RIGHT(D2,11)," ","-"))<TODAY()-85

This will return TRUE or FALSE.
Best wishes,
Hans

User avatar
StuartR
Administrator
Posts: 12605
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Pull date from text string into new column

Post by StuartR »

I think your second formula should have been

=DATEVALUE(SUBSTITUTE(RIGHT(D2,11)," ","-"))<(TODAY()-85)
StuartR


User avatar
HansV
Administrator
Posts: 78487
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pull date from text string into new column

Post by HansV »

Yes, of course. Thanks!
Best wishes,
Hans

snb
4StarLounger
Posts: 575
Joined: 14 Nov 2012, 16:06

Re: Pull date from text string into new column

Post by snb »

Here this functions as well

=--RIGHT(A1;11)<TODAY()-85