Thread: date entry
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Aditya Aditya is offline
external usenet poster
 
Posts: 54
Default date entry

It works well if data is there in A1 but shows value error when A1 cell is
blank.
i want the cell blank if A1 is blank.
what should i do?

"Jarek Kujawa" wrote:

format as "dd mmm yy"

=DATE("20"&RIGHT(A1,2),MID(A1,7,2),MID(A1,FIND("/",A1)+1,2))

this formula will give you "01 feb 09"

pls click YES if this helped


On 27 Maj, 14:23, aditya wrote:
In cell A1, data is of 10 digit whose last 6 digit is in form of ddmmyy.
how can i get date, month and year in cell A2 from this.

e.g. A1 A2
UPR/010209 01 FEB 09