|
Marie, Mark's spread sheet is very very close but has some trouble with Y2K0-9. If you format the input fields as a text value (the B column) and plug these formulas in the C column they'll work for this century. =IF(LEN(B2)=6,MID(B2,3,2)&"/"&MID(B2,5,2)&"/"&MID(B2,1,2)," ") =IF(LEN(B3=8),MID(B3,5,2)&"/"&MID(B3,7,2)&"/"&MID(B3,1,4)," ") =IF(LEN(B4=8),MID(B4,5,2)&"/"&MID(B4,7,2)&"/"&MID(B4,1,4)," ") =IF(LEN(B5=6), IF(MID(B5,1,2)<="40",MID(B5,3,2) & "/" & MID(B5,5,2) & "/20" & MID(B5,1,2),MID(B5,3,2) & "/" & MID(B5,5,2) & "/19" & MID(B5,1,2)),"") Couldn't have done it without your input Mark! Bill ----- Original Message ----- From: Mark Walter <mwalter@netrax.net> To: <MIDRANGE-L@midrange.com> Sent: Wednesday, October 25, 2000 11:37 AM Subject: RE: Excel and dates > Attached is a spreadsheet containing formulas to do this. > > -----Original Message----- > From: Graziano, Marie [SMTP:mgraziano@badgermeter.com] > Sent: Tuesday, October 24, 2000 3:30 PM > To: 'Midrange' > Subject: Excel and dates > > Anyone taking an AS/400 date and dll into excel. > Does anyone know how to take the MMDDYY and convert it in excel to > YYYY/MM/DD > > Marie Graziano > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.