SOLVED

Formatting grandpa's TV overview

%3CLINGO-SUB%20id%3D%22lingo-sub-2015244%22%20slang%3D%22en-US%22%3EFormatting%20grandpa's%20TV%20overview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015244%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%20My%20Mum%20used%20to%20spend%20hours%20putting%20together%20a%20Word%20file%20with%20all%20the%20TV%20shows%20(channel%2C%20time%2C%20show%20title)%20that%20my%20grandpa%20may%20be%20interested%20in%20as%20he's%20almost%20completely%20blind%20and%20cannot%20read%20the%20regular%20TV%20program%20anymore.%20(Letters%20too%20small%20and%20too%20much%20irrelevant%20crap.)%3CBR%20%2F%3E%3CBR%20%2F%3EMum%20creates%20his%20individual%20TV%20program%20by%20hand%2C%20painstakenly%20copy%2Fpasting%20the%20data%20from%20the%20TV%20calendar%20site%20into%20a%20Word%20file%20and%20then%20fighting%20with%20the%20formatting.%20(Before%20she%20did%20it%20by%20hand%20and%20typed%20it%20up%20which%20took%20even%20longer.)%3CBR%20%2F%3EThen%20it's%20printed%20out%20and%20stapled%20together%20for%20grandpa.%20This%20way%20he%20only%20has%20relevant%20shows%20to%20check%20in%20huge%20letters%20to%20read%20in%20his%20reading%20machine.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20told%20her%20I'd%20try%20to%20find%20a%20better%2Fquicker%20way%20to%20do%20this%2C%20thinking%20about%20Excel%20right%20away.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EBasically%20I%20found%20out%20that%20with%20the%20TV%20calendar%20site%20she%20already%20uses%20(klack.de)%20instead%20of%20copy%2Fpasting%20the%20data%20manually%20she%20can%20create%20a%20TV%20planner%20which%20is%20a%20favourite%20list%20of%20the%20shows%20she%20marks%20for%20my%20grandpa.%20The%20csv%20files%20the%20site%20creates%20are%20pretty%20useless%2C%20however%2C%20when%20I%20have%20the%20site%20send%20the%20list%20via%20email%20and%20simply%20copy%2Fpaste%20the%20complete%20email%20content%20into%20Excel%20I%20get%20something%20I%20can%20work%20with.%20The%20extract%20looks%20like%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CTABLE%20width%3D%221208%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E3sat%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E27.12.20%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E17%3A00%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EGenosse%20Don%20Camillo%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EKom%C3%B6die%2C%20I%2C%20F%2C%20D%201965%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3ELaufzeit%3A%20105%20Minuten%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EOriginal-Titel%3A%20Il%20compagno%20Don%20Camillo%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EMit%3A%20Fernandel%2C%20Gino%20Cervi%2C%20Saro%20Urz%C3%AC%2C%20Gianni%20Garko%2C%20Marco%20Tulli%2C%20Silla%20Bettini%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3ERegie%3A%20Luigi%20Comencini%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2256px%22%3EDie%20beiden%20Streith%C3%A4hne%20Don%20Camillo%20und%20Peppone%20liefern%20sich%20eine%20weitere%20Runde%20in%20ihrem%20ewigen%20Kampf%3A%20Um%20seinem%20Kontrahenten%20eins%20auszuwischen%2C%20...%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3EZDFinfo%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E27.12.20%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E18%3A45%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EDie%20Vermessung%20der%20Erde%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EWissenschaftsserie%2C%20D%202019%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EFolge%3A%201%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3ELaufzeit%3A%2045%20Minuten%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2281.7143px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22962.286px%22%20height%3D%2229px%22%3EOriginal-Titel%3A%20Terra%20X%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%3CBR%20%2F%3ENow%20what%20I'm%20trying%20to%20do%20is%20create%20a%20list%20with%20only%20the%20relevant%20data%20(channel%2C%20time%2C%20title)%20on%20a%20second%20tab%2C%20using%20%22%3DProgrammliste!A1%22%2C%26nbsp%3B%22%3DProgrammliste!C1%22%20etc%20on%20tab%202.%20to%20display%20the%20data%20in%20the%20right%20order%20for%20a%20clean%20list.%3CBR%20%2F%3E%3CBR%20%2F%3EA1%20(A9)%3A%20Channel%3CBR%20%2F%3EC1%20(C9)%3A%20Time%3CBR%20%2F%3ED1%20(D9)%3A%20Show%2Fmovie%20title%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CTABLE%20width%3D%22736%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2259%22%3E3sat%3C%2FTD%3E%3CTD%20width%3D%2240%22%3E17%3A00%3C%2FTD%3E%3CTD%20width%3D%22637%22%3EGenosse%20Don%20Camillo%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EZDFinfo%3C%2FTD%3E%3CTD%3E18%3A45%3C%2FTD%3E%3CTD%3EDie%20Vermessung%20der%20Erde%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%3CBR%20%2F%3EMy%20problem%20is%20that%20there's%20a%20lot%20of%20useless%20data%20in%20between%2C%20and%20unfortunately%20the%20number%20of%20lines%20between%20the%20titles%20varies%20depending%20on%20the%20program%20(news%20show%2C%20movie%20etc)%2C%20so%20I%20cannot%20just%20make%20a%20template%20that%20always%20leaves%20out%207%20lines%20between%20the%20relevant%20info.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20thinking%20maybe%20there's%20a%20way%20to%20create%20a%20template%20by%20using%20%22ISTEXT%22%20to%20find%20out%20if%20there's%20text%20in%20column%20A.%3CBR%20%2F%3E--%26gt%3B%20If%20it's%20true%20it%20displays%20the%20content%20of%20A%2C%20C%20and%20D%20of%20this%20line%20on%20tab%202.%3CBR%20%2F%3E--%26gt%3B%20If%20it's%20not%20true%20(if%20the%20cells%20are%20empty)%20Excel%20will%20leave%20them%20out.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20that's%20where%20my%20ambition%20overtakes%20my%20knowledge%20of%20the%20program.%3CBR%20%2F%3E%3CBR%20%2F%3EDo%20you%20have%20any%20idea%20how%20this%20can%20be%20achieved%3F%3CBR%20%2F%3EOr%20maybe%20you%20have%20a%20much%20better%20way%20in%20mind%20to%20arrange%20this%20data%20in%20a%20meaningful%2Felegant%20manner%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2015244%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015747%22%20slang%3D%22en-US%22%3ERe%3A%20Formatting%20grandpa's%20TV%20overview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015747%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F911532%22%20target%3D%22_blank%22%3E%40ScoIaro%3C%2FA%3E%26nbsp%3BYou%20mention%20that%20you%20have%20CSV%20files%2C%20downloaded%20from%20the%20site.%20Once%20in%20Excel%2C%20you%20can%20convert%20the%20data%20into%20a%20structured%20table%2C%20filter%20out%20the%20blanks%20and%20do%20the%20formatting%20you%20need.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20attached%20file%20contains%20an%20example.%20If%20this%20is%20not%20a%20workable%20solution%20for%20you%2C%20perhaps%20Power%20Query%20can%20help.%20Looked%20around%20at%20the%20site%20but%20it%20seems%20that%20it%20does%20not%20provide%20an%20overview%20of%20%3CSTRONG%3Eall%3C%2FSTRONG%3E%20channels%20for%20the%20%3CSTRONG%3Eentire%3C%2FSTRONG%3E%20day%20and%2For%20for%20%3CSTRONG%3Emultiple%3C%2FSTRONG%3E%20dates.%20Or%20I%20just%20couldn't%20find%20it.%20If%20there%20is%20a%20view%20on%20the%20site%20that%20creates%20the%20desired%20table%2C%20perhaps%20you%20can%20provide%20the%20link%20to%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015767%22%20slang%3D%22en-US%22%3ERe%3A%20Formatting%20grandpa's%20TV%20overview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BThank%20you%20very%20much%20for%20your%20efforts!%3CBR%20%2F%3E%3CEM%3E%3CBR%20%2F%3ELooked%20around%20at%20the%20site%20but%20it%20seems%20that%20it%20does%20not%20provide%20an%20overview%20of%26nbsp%3B%3CSTRONG%3Eall%3C%2FSTRONG%3E%26nbsp%3Bchannels%20for%20the%26nbsp%3B%3CSTRONG%3Eentire%3C%2FSTRONG%3E%26nbsp%3Bday%20and%2For%20for%26nbsp%3B%3CSTRONG%3Emultiple%3C%2FSTRONG%3E%26nbsp%3Bdates.%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThat's%20actually%20not%20necessary%20-%20you%20can%20create%20individual%20csv%20files%20based%20on%20the%20%22starred%22%20shows%2C%20which%20is%20ideal%20as%20it%20condenses%20the%20material%20down%20to%20what%20grandpa%20is%20(or%20may%20be)%20interested%20in%2C%20however%2C%20my%20problem%20with%20the%20csv%20files%20is%20that%20the%20special%20characters%20are%20not%20displayed%20correctly%20and%20I%20would%20need%20to%20replace%20them%20all%2C%20depending%20on%20how%20many%20are%20used%20overall%20(usually%20Mum's%20TV%20program%20covers%20about%20two%20weeks%2C%20with%20several%20dozens%20of%20shows%20to%20choose%20from...a%20ton%20of%20special%20characters).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20attached%20two%20csv%20files%20from%20that%20site%20as%20example.%3CBR%20%2F%3E%3CBR%20%2F%3EOne%20of%20them%20actually%20comes%20close%20to%20what%20I'm%20trying%20to%20do%2C%20but%20I%20guess%20it%20would%20overall%20still%20be%20easier%2Fquicker%20to%20delete%20the%20superfluous%20lines%20from%20my%20earlier%20copy%2Fpaste%20example%20instead%20of%20manually%20replacing%26nbsp%3B%C3%83%C2%BC%20with%20%C3%BC%2C%26nbsp%3B%C3%83%C2%B6%20with%20%C3%A4%2C%26nbsp%3B%C3%83%C5%B8%20with%20%C3%9F%20etc.%20throughout%20a%20complete%20document.%20(For%20some%20reason%20the%20site%20does%20not%20offer%20Unicode%20setting%20for%20the%20csv%20files.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015769%22%20slang%3D%22en-US%22%3ERe%3A%20Formatting%20grandpa's%20TV%20overview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015769%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F911532%22%20target%3D%22_blank%22%3E%40ScoIaro%3C%2FA%3E%26nbsp%3BOK%2C%20understood.%20Perhaps%20you%20can%20get%20the%20data%20across%20in%20a%20different%20way.%20I%20went%20to%20%22Ubersicht%22%20and%20marked%20some%20programs%20using%20the%20%22Merken%22%20button%20after%20you%20clicked%20on%20the%20program.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%2C%20in%20%22TV-Planer%22%20I%20choose%20all%20marked%20programs%20to%20be%20sent%20as%20an%20e-mail.%20What%20I%20then%20get%20(and%20I'm%20not%20in%20Germany)%20is%20neatly%20formatted%20and%20includes%20all%20German%20specific%20characters%2C%20without%20the%20need%20to%20find%20and%20replace.%20Now%20you%20can%20create%20the%20table%20and%20filter%20out%20the%20unwanted%20rows.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015780%22%20slang%3D%22en-US%22%3ERe%3A%20Formatting%20grandpa's%20TV%20overview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015780%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BThanks%20again!%3CBR%20%2F%3E%3CBR%20%2F%3EYes%2C%20that's%20actually%20what%20I%20described%20in%20my%20original%20posting.%20Sending%20the%20extract%20via%20email%20provided%20the%20best%20inital%20output%20for%20my%20purpose.%20I%20copy%2Fpasted%20the%20email%20content%20into%20Excel%2C%20and%20used%20the%20second%20tab%20to%20display%20only%20the%20data%20I%20needed%20in%20the%20right%20order%2C%20however%2C%20that's%20when%20I%20started%20wondering%20if%20I%20could%20automate%20it%20with%20some%20sort%20of%20formula%20in%20order%20to%20simply%20copy%2Fpaste%20the%20data%20and%20Excel%20would%20create%20the%20correct%20list%20on%20tab%202%20automatically%2C%20based%20on%20the%20content%20of%20column%20A%20(as%20I'm%20only%20interested%20in%20data%20of%20the%20lines%20that%20have%20content%20in%20A).%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20that's%20not%20possible%20I'll%20happily%20have%20Mum%20send%20me%20the%20email%20once%20she's%20chosen%20the%20shows%20and%20do%20the%20rest%20(deleting%20the%20superfluous%20lines%20and%20adjusting%20the%20font%2C%20size%20and%20layout)%20manually%20myself%20-%20compared%20to%20Mum's%20previous%20workflow%20this%20will%20be%20much%20quicker%20already.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20just%20thought%20Excel%20had%20a%20more%20elegant%20solution%20for%20the%20second%20part%20too%2C%20so%20that%20once%20the%20Excel%20file%20is%20set%20up%2C%20she%20could%20copy%2Fpaste%20the%20email%20content%20and%20use%20the%20adjusted%20data%20in%20the%20second%20tab%20without%20having%20me%20to%20work%20on%20the%20file%20as%20well.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi. My Mum used to spend hours putting together a Word file with all the TV shows (channel, time, show title) that my grandpa may be interested in as he's almost completely blind and cannot read the regular TV program anymore. (Letters too small and too much irrelevant crap.)

Mum creates his individual TV program by hand, painstakenly copy/pasting the data from the TV calendar site into a Word file and then fighting with the formatting. (Before she did it by hand and typed it up which took even longer.)
Then it's printed out and stapled together for grandpa. This way he only has relevant shows to check in huge letters to read in his reading machine.

I told her I'd try to find a better/quicker way to do this, thinking about Excel right away. 

Basically I found out that with the TV calendar site she already uses (klack.de) instead of copy/pasting the data manually she can create a TV planner which is a favourite list of the shows she marks for my grandpa. The csv files the site creates are pretty useless, however, when I have the site send the list via email and simply copy/paste the complete email content into Excel I get something I can work with. The extract looks like this:

3sat27.12.2017:00Genosse Don Camillo 
   Komödie, I, F, D 1965
   Laufzeit: 105 Minuten
   Original-Titel: Il compagno Don Camillo
   Mit: Fernandel, Gino Cervi, Saro Urzì, Gianni Garko, Marco Tulli, Silla Bettini
   Regie: Luigi Comencini
    
   Die beiden Streithähne Don Camillo und Peppone liefern sich eine weitere Runde in ihrem ewigen Kampf: Um seinem Kontrahenten eins auszuwischen, ...
ZDFinfo27.12.2018:45Die Vermessung der Erde 
   Wissenschaftsserie, D 2019
   Folge: 1
   Laufzeit: 45 Minuten
   Original-Titel: Terra X


Now what I'm trying to do is create a list with only the relevant data (channel, time, title) on a second tab, using "=Programmliste!A1", "=Programmliste!C1" etc on tab 2. to display the data in the right order for a clean list.

A1 (A9): Channel
C1 (C9): Time
D1 (D9): Show/movie title

3sat17:00Genosse Don Camillo 
ZDFinfo18:45Die Vermessung der Erde 


My problem is that there's a lot of useless data in between, and unfortunately the number of lines between the titles varies depending on the program (news show, movie etc), so I cannot just make a template that always leaves out 7 lines between the relevant info. 

I'm thinking maybe there's a way to create a template by using "ISTEXT" to find out if there's text in column A.
--> If it's true it displays the content of A, C and D of this line on tab 2.
--> If it's not true (if the cells are empty) Excel will leave them out. 

But that's where my ambition overtakes my knowledge of the program.

Do you have any idea how this can be achieved?
Or maybe you have a much better way in mind to arrange this data in a meaningful/elegant manner?

Thank you!

6 Replies

@ScoIaro You mention that you have CSV files, downloaded from the site. Once in Excel, you can convert the data into a structured table, filter out the blanks and do the formatting you need.

 

The attached file contains an example. If this is not a workable solution for you, perhaps Power Query can help. Looked around at the site but it seems that it does not provide an overview of all channels for the entire day and/or for multiple dates. Or I just couldn't find it. If there is a view on the site that creates the desired table, perhaps you can provide the link to it.

@Riny_van_Eekelen Thank you very much for your efforts!

Looked around at the site but it seems that it does not provide an overview of all channels for the entire day and/or for multiple dates. 


That's actually not necessary - you can create individual csv files based on the "starred" shows, which is ideal as it condenses the material down to what grandpa is (or may be) interested in, however, my problem with the csv files is that the special characters are not displayed correctly and I would need to replace them all, depending on how many are used overall (usually Mum's TV program covers about two weeks, with several dozens of shows to choose from...a ton of special characters).

 

I attached two csv files from that site as example.

One of them actually comes close to what I'm trying to do, but I guess it would overall still be easier/quicker to delete the superfluous lines from my earlier copy/paste example instead of manually replacing Ã¼ with ü, Ã¶ with ä, ÃŸ with ß etc. throughout a complete document. (For some reason the site does not offer Unicode setting for the csv files.)

@ScoIaro OK, understood. Perhaps you can get the data across in a different way. I went to "Ubersicht" and marked some programs using the "Merken" button after you clicked on the program.

 

Then, in "TV-Planer" I choose all marked programs to be sent as an e-mail. What I then get (and I'm not in Germany) is neatly formatted and includes all German specific characters, without the need to find and replace. Now you can create the table and filter out the unwanted rows. 

@Riny_van_Eekelen Thanks again!

Yes, that's actually what I described in my original posting. Sending the extract via email provided the best inital output for my purpose. I copy/pasted the email content into Excel, and used the second tab to display only the data I needed in the right order, however, that's when I started wondering if I could automate it with some sort of formula in order to simply copy/paste the data and Excel would create the correct list on tab 2 automatically, based on the content of column A (as I'm only interested in data of the lines that have content in A).

If that's not possible I'll happily have Mum send me the email once she's chosen the shows and do the rest (deleting the superfluous lines and adjusting the font, size and layout) manually myself - compared to Mum's previous workflow this will be much quicker already. 

I just thought Excel had a more elegant solution for the second part too, so that once the Excel file is set up, she could copy/paste the email content and use the adjusted data in the second tab without having me to work on the file as well. 

best response confirmed by ScoIaro (New Contributor)
Solution

@ScoIaro Sorry, overlooked your comment explaining that you had used the email option already. The automation can be achieved if you can/want to use Power Query. Rather than sending and e-mail, download the marked programs as an XML file (although the extension becomes .rss).

 

Then in PowerQuery, you can connect to the downloaded file do some transformations once and the next time it will all go automatic. Tried it works great, but it will have to be adopted to your own system.

@Riny_van_Eekelen I took a look at Power Query and will definitely give it a shot!
(On top of that I contacted the Klack.de website and asked them to change the ANSI extracts to Unicode, so let's see who's quicker solving the problem, me or them. ^^)

Thank you very much for taking the time to check this and reply to me!