ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pick only date from DD/MM/YY format (https://www.excelbanter.com/excel-discussion-misc-queries/177650-pick-only-date-dd-mm-yy-format.html)

shaji

Pick only date from DD/MM/YY format
 
Sir,

I have a data in which Column A contains date B contains programmes. I am
trying to get in column C that if date starts with 1 a particular programme
from B and if start with 15 some other programme. when i put the formulah
=left(A1,2) it brings 39 as answer. Is there any idea that how I can bring
the first two digits from the date column with out considering the month &
year.

thanks

Mike H

Pick only date from DD/MM/YY format
 
Hi,

I'm not sure what you are trying to do but to extract the day portion of a
date try this with a date in A1

=DAY(A1)

If you need more help post you data layout.

Mike



"shaji" wrote:

Sir,

I have a data in which Column A contains date B contains programmes. I am
trying to get in column C that if date starts with 1 a particular programme
from B and if start with 15 some other programme. when i put the formulah
=left(A1,2) it brings 39 as answer. Is there any idea that how I can bring
the first two digits from the date column with out considering the month &
year.

thanks


Gord Dibben

Pick only date from DD/MM/YY format
 
=DAY(A1)


Gord Dibben MS Excel MVP

On Sat, 23 Feb 2008 00:28:00 -0800, shaji
wrote:

Sir,

I have a data in which Column A contains date B contains programmes. I am
trying to get in column C that if date starts with 1 a particular programme
from B and if start with 15 some other programme. when i put the formulah
=left(A1,2) it brings 39 as answer. Is there any idea that how I can bring
the first two digits from the date column with out considering the month &
year.

thanks




All times are GMT +1. The time now is 11:23 PM.

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