Excel file has mixture of dates as text and serial numbers -


i've gotten excel file in of dates serial dates (42741, 42800, etc.), , text. since serial dates formatted dates, alike, excel can't correctly sort them, , displays them spanning year instead of 2 month period represent.

to make things worse, dates formatted in style (mm/dd/yyyy), , system uses international (dd/mm/yyyy).

how clean data!?

lets pretend dates in column place following in adjacent column , copy down accordingly.

=if(isnumber(a2),l7,date(right(a2,4),left(a2,2),mid(a2,find("/",a2)+1,2))) 

alternative use text column built in function in ribbon.

1)  select range of mixed dates 2)  select text-to-columns 3)  keep selecting next until come page after selecting delimiters 4)  choose destination location (default overnighting data) 5)  select column header in preview 6)  select date radio button format 7)  select date format matches source format 

serial dates remain unchanged, , text dates converted.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -