ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   format ? (https://www.excelbanter.com/excel-worksheet-functions/224453-format.html)

Soth

format ?
 

Hi,

How do I format this below date to just a Year which i'm looking for?

3/31/2008
10/3/1996

Appreciat your help

Thanks
sothea


Shane Devenshire

format ?
 
Hi,

Choose Format, Cells, Number tab, Custom and enter YYYY on the Type line.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Soth" wrote:


Hi,

How do I format this below date to just a Year which i'm looking for?

3/31/2008
10/3/1996

Appreciat your help

Thanks
sothea


Soth

format ?
 

Got it ! Thanks Shane

"Shane Devenshire" wrote:

Hi,

Choose Format, Cells, Number tab, Custom and enter YYYY on the Type line.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Soth" wrote:


Hi,

How do I format this below date to just a Year which i'm looking for?

3/31/2008
10/3/1996

Appreciat your help

Thanks
sothea


Pete_UK

format ?
 
Highlight the cells with the dates in, click on Format | Cells |
Number tab, and choose Custom from the bottom of the list. In the
panel just enter yyyy, then click OK.

Note that the date will still be in the cell (not the year), as you
have just chosen to display it in a certain format. Hence you can't do
any arithmetic on the cell which would rely on the year being there -
instead, use YEAR(A1) if you want to do this.

Hope this helps.

Pete

On Mar 16, 3:36*pm, Soth wrote:
Hi,

How do I format this below date to just a Year which i'm looking for?

3/31/2008
10/3/1996

Appreciat your help

Thanks
sothea




All times are GMT +1. The time now is 08:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com