I have an outside Excel report that populates dates in the following mmddyyyy format: 04172004. I need a method of converting this date into the format yyyy-mm. I know that I can use the following formula: =TEXT(B11,"yyyy")&IF(MONTH(B11)=1,"-01",IF(MONTH(B11)=2,"-02",IF(MONTH(B11)= 3,"-03",IF(MONTH(B11)=4,"-04")))) where B11 is the location of the original date, but I run out of arguments after the fourth IF. What method would allow all 12 months to be returned? I cannot change the original report, and I need the new format for pivot table options. Thank you for your help. Rick McQueen rx8273@xxxxxxx <mailto:rx8273@xxxxxxx> ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************