How to use a single part of a cell's date [Solved/Closed]

Report
Posts
3
Registration date
Friday September 11, 2015
Status
Member
Last seen
September 15, 2015
-
Posts
3
Registration date
Friday September 11, 2015
Status
Member
Last seen
September 15, 2015
-
So that's the scenario, I've a date in a Cell (D4) in the format 02/02/2008.

I need to compare only the year of the date (2008) and if it's true return a frase.

Basicaly i need to know how to use a single part of a cell's date.

Tnx

1 reply

Posts
1843
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
October 29, 2020
136
TheMarcus, Good morning.

To refer to an year inside a date in cell use:

=Year(D4)

Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Posts
3
Registration date
Friday September 11, 2015
Status
Member
Last seen
September 15, 2015

Yes that was exactly what i was searching for...thnx