Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have imported vcf files into excel 2003 and the column looks like
this: BEGIN:VCARD VERSION:3.0 N: (some data) FN: (some data) MN: (some data) X-VOIP-USERNAME: (some data) X-VOIP-PSTNNUMBER:(some data) X-VOIP-DISPLAYNAME:(some data) X-VOIP-SEX:(some data) X-VOIP-COUNTRY:(some data) BDAY:(some data) ADR:(some data) TEL;CELL:(some data) END:VCARD BEGIN:VCARD VERSION:3.0 N: (some data) FN: (some data) LN: (some data) X-VOIP-USERNAME: (some data) X-VOIP-PSTNNUMBER:(some data) X-VOIP-DISPLAYNAME:(some data) X-VOIP-SEX:(some data) X-VOIP-COUNTRY:(some data) ADR:(some data) TEL;CELL:(some data) END:VCARD Each person's data is bounded by the BEGIN:VCARD and the END:VCARD. I want to turn this into a spreadsheet with all the categories (e.g. FN, LN, N, ADR, etc) as columns. A simple text-to-columns operation won't work, as some the entries don't contain all the data (for example, some have FN, MN,LN but others have only FN and LN) and if transposed to columns, the info won't match up across the rows. I've made some headway by highlighting a certain category (e.g. CITY -- there were 37 out of 879 out of 879 begin--end groups, then changing an all unneeded category like COUNTRY to CITY:00, then manually deleting 37 extraneous CITY:00 from the files which originally had had a CITY category. Time consuming to say the least, and I've discovered there is a category I wish to keep, but it shows up in 175 of the files --- there's got to a better way. If anyone has any suggestions, I'd be very grateful. Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Highlighting Data Exceptions | Excel Discussion (Misc queries) | |||
Losing data in controls (and arrays) during unhandled exceptions. | Excel Programming | |||
Series with noncontiguous unequal length data? | Charts and Charting in Excel | |||
Data Validation w/ exceptions msg box | Excel Worksheet Functions | |||
Finding equation between two sets of noncontiguous data | Excel Programming |