SOLVED

Filter - Drop down menu to show rows with cells with one or more values

%3CLINGO-SUB%20id%3D%22lingo-sub-1435575%22%20slang%3D%22en-US%22%3EFilter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435575%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20made%20a%20template%20for%20a%26nbsp%3B%3CSTRONG%3E%3CU%3Eproject%20plan%3C%2FU%3E%3C%2FSTRONG%3E%20(sheet%201)%20and%20exported%20the%20information%20to%20a%26nbsp%3B%3CSTRONG%3E%3CU%3Eproject%20report%3C%2FU%3E%3C%2FSTRONG%3E%20(sheet%202).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20%3CSTRONG%3E%3CU%3Eproject%20report%3C%2FU%3E%20%3C%2FSTRONG%3EI%20want%20to%20be%20able%20to%20filter%20project%20activities%20pertaining%20to%20a%20spesific%20week%2C%20but%20as%20activities%20can%20span%20across%20several%20weeks%2C%20I've%20made%20a%20macro%20in%20the%20%3CSTRONG%3E%3CU%3Eproject%20plan%3C%2FU%3E%3C%2FSTRONG%3E%20that%20let%20me%20choose%20several%20weeks%20from%20a%20list%20and%20insert%20it%20into%20the%20same%20cell.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20try%20to%20filter%20by%20week%20in%20the%20%3CSTRONG%3E%3CU%3Ereport%3C%2FU%3E%3C%2FSTRONG%3E%20it%20is%20limited%20to%20picking%26nbsp%3Bactivities%20that%20are%20%3CU%3Eexclusively%3C%2FU%3E%20pertaining%20to%20this%2C%20last%2C%20or%20next%20week%2C%20not%20activities%20that%20span%20across%20this%20%3CU%3Eand%3C%2FU%3E%20next%20week.%20It%20can%20be%20customised%20in%20the%20date%20intervall%20in%20the%20filter%20drop%20down%20menu%2C%20but%20this%20will%20be%20to%20complicated%20for%20the%20users..%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EIs%20there%20a%20way%20around%20this%3F%3C%2FSTRONG%3E%20I%20tried%20to%20remove%20the%20macro%20and%20insert%20the%20date%20(dd.mm.yyyy%20-%20dd.mm.yyyy)%2C%20manually%20in%20the%20%3CU%3E%3CSTRONG%3Eplan%3C%2FSTRONG%3E%2C%3C%2FU%3E%26nbsp%3Bbut%20the%20same%20problem%20appears%20when%20filtering%20in%20the%26nbsp%3B%3CSTRONG%3E%3CU%3Ereport%3C%2FU%3E%3C%2FSTRONG%3E.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1435575%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-1435904%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435904%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20appreciate%20the%20precision%20you're%20seeking%20to%20employ%20in%20describing%20your%20situation.%20It's%20nevertheless%20difficult%20to%20actually%20picture%20exactly%20what%20you're%20up%20against%20based%20solely%20on%20the%20words.%20And%20although%20the%20cliche%20is%20that%20a%20picture%20is%20worth%20a%20thousand%20words%2C%20even%20if%20you%20were%20to%20post%20an%20image%20of%20your%20files%2C%20that%20wouldn't%20help%20much.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20for%20you%20to%20post%20a%20copy%20of%20the%20actual%20workbook%20(devoid%20of%20any%20personal%20or%20confidential%20info)%20so%20that%20we%20here%20in%20techcommunity%20can%20experience%20it%20first%20hand%2C%20and%20maybe%20offer%20the%20solution%20you're%20looking%20for%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1439952%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1439952%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442128%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442128%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply.%20I%20have%20considered%20using%20the%20WEEKNUM%20function%2C%20but%20it%20still%20doesnt%20solve%20the%20problem%20of%20an%20activity%20spanning%20across%20several%20weeks%20-%20And%20I%20am%20in%20need%20of%20a%20filtering%20function%20that%20shows%20all%20activities%20within%20a%20given%20week%20or%20time%20span%2C%20not%20exclusively%20those%20that%26nbsp%3B%3CU%3Eonly%3C%2FU%3E%20are%20active%20in%20week%201%2C%202%20or%203%20-%20Because%20activities%20will%20be%20active%20during%20several%20weeks..%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442815%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442815%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20still%20think%20%3CSTRONG%3EWEEKNUM%3C%2FSTRONG%3E%20could%20work%20for%20you.%20Your%20rows%20could%20show%20a%20week%20number%20value%20for%20the%20first%20week%2C%20the%20last%20(and%20the%20latter%20could%20increase%20as%20the%20project%20continues).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFilter%20based%20on%20being%20greater%20than%20or%20equal%20to%20the%20first%20week%2C%20less%20than%20or%20equal%20to%20the%20last.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20%3CSTRONG%3EFILTER%3C%2FSTRONG%3E%20function%20could%20do%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20am%20I%20missing%20something%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442914%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442914%22%20slang%3D%22en-US%22%3E%3CP%3EHmm..%20I%20feel%20a%20bit%20stupid%20for%20not%20seeing%20how%20it%20could%20work.%20I%20think%20I%20get%20the%20formatting%20bit%2C%20I%20see%20how%20I%20can%20retrieve%20the%20necessary%20information%2C%20but%20the%20template%20need%20to%20work%20for%20several%20different%20projects%20with%20different%20start%2Fend%20dates%20%2B%20Be%20simple%20enough%20for%20the%20users%20to%20just%20choose%20from%20a%20drop%20down%20menu%20or%20enter%20a%20spesific%20week%20or%20time%20period%20in%20a%20cell%20without%20having%20to%20customise%20the%20filter%20settings%20manually%20every%20time..%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20you%20be%20able%20to%20insert%20the%20solution%20in%20the%20excel%20example%20sheet%20I%20shared%20in%20order%20for%20me%20to%20see%20if%20I%20am%20missing%20something%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20patience%20and%20understanding%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1443043%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1443043%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETHere's%20a%20simple%20example%20here%20in%20this%20revised%20(w%2Fo%20VBA)%20version%20of%20your%20spreadsheet.%20Just%20to%20illustrate%20how%20FILTER%20could%20do%20it.%20I%20created%20a%20small%20table%20that%20contains%20start%20and%20end%20weeks%20and%20a%20project%20name.%20Then%20the%20following%20filter%20function%20will%20list%20projects%20(and%20any%20other%20data%20you%20choose%20to%20add)%20that%20meet%20the%20single%20week.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3DFILTER(Table1%5BProj%20Name%5D%2C(Table1%5BStartWeek%5D%26lt%3B%3DRequestedWk)*(Table1%5BLastWeek%5D%26gt%3B%3DRequestedWk))%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447612%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447612%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20first%20look%20this%20seems%20to%20do%20exactly%20what%20I%20would%20want%20it%20to%20do.%20But%20will%20it%20work%20in%20a%20template%20where%20activities%20do%20not%20have%20predetermined%20names%20or%20dates%2C%20but%20will%20be%20randomly%20inserted%20in%20the%20plan%20as%20the%20project%20manager%20goes%20along%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20other%20words%2C%20will%20the%20project%20manager%20be%20able%20to%20expand%20the%20number%20of%20activities%20and%20dates%20in%20sheet%201%20(project%20plan)%20and%20filter%20his%20results%20by%20a%20week%20to%20week%20basis%20in%20the%20project%20report%20(sheet%202)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20you%20understand%20whether%20the%20cells%20containing%20dates%20in%20sheet%201%20(the%20plan)%20accomodates%20more%20predetermined%20dates%20into%20one%20cell%20(VBA)%2C%20or%20is%20a%20freely%20inserted%20by%20the%20project%20manager%2C%20is%20not%20that%20important.%20This%20was%20done%20originally%20because%20I%20thought%20the%20filtering%20in%20sheet%202%20(the%20report)%20would%20be%20easier%20this%20way.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447641%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447641%22%20slang%3D%22en-US%22%3EExpanding%20on%20this%3A%20Project%20activities%20could%20be%20%22remember%20to%20give%20Lise%20the%20keys%22.%20Then%20the%20whole%20row%20containing%20this%20activity%20needs%20to%20be%20exported%20to%20the%20plan%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448552%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20confess%20to%20having%20a%20difficult%20time%20picturing%20what%20you're%20describing.%20That%20said%2C%20I%20am%20assuming%20(as%20is%20Excel)%20that%20you%20(and%20your%20users)%20are%20using%20the%20Excel%20Table%20format%20to%20represent%20a%20coherent%20and%20well-designed%20database.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20pretty%20much%20precludes%20random%20entries%20(which%20is%20what%20%22remember%20to%20give%20Lise%20the%20keys%22%20sounds%20like)%3B%20i.e.%2C%20I%20wouldn't%26nbsp%3B%20think%20you%20want%20this%20Excel%20workbook%20used%20as%20the%20daily%20%22To-Do%22%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20that%20it's%20impossible%20to%20use%20it%20as%20a%20To-Do%20list.%20It%20is%20entirely%20possible.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20this%20very%20conversation%20is%20telling%20me%20that%20what%20you%20(and%20your%20users)%20need%20to%20do%20first%20is%20sit%20down%20and%20give%20thought%20to%20what%20you're%20designing.%20Don't%20make%20the%20mistake%20(or%20let%20them%20make%20the%20mistake)%20of%20using%20Excel%20as%20a%20semi-automated%20piece%20of%20paper%2C%20a%20piece%20of%20paper%20that%20happens%20to%20come%20with%20rows%20and%20columns%20and%20even%20the%20ability%20to%20do%20some%20magic%20with%20filtering%20and%20adding%20and%20multiplying%20and%20extrapolating....%20%5Band%20believe%20me%2C%20there's%20plenty%20of%20precedent%20for%20bringing%20that%20mindset%20to%20Excel%5D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%2C%20at%20the%20very%20least%2C%20it's%20what%20I%20would%20insist%20on%20doing%20before%20going%20any%20further.%20You've%20got%20the%20tools%20to%20do%20the%20filtering%20you%20were%20asking%20about%3B%20they%20may%20take%20some%20tinkering%20to%20use%20dates%20rather%20than%20week%20numbers%2C%20and%20so%20forth....but%20seriously%2C%20sit%20down%20and%20assemble%20a%20set%20of%20descriptions%20of%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EINPUT%3A%3C%2FSTRONG%3E%20data%20that%20is%20needed%20in%20the%20course%20of%20the%20project%20management%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EOUTPUT%3A%3C%2FSTRONG%3E%20reports%2Fsummaries%20that%20are%20needed%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CSTRONG%3E%3CEM%3EThen%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FU%3E%20refine%20how%20the%20INPUT%20in%20particular%20should%20be%20entered%3B%20what's%20truly%20needed%20for%20project%20management%2C%20what%20really%20is%20trivial%20and%20could%20be%20done%20via%20some%20other%20app%20(or%20piece%20of%20paper)%2C%20how%20that%20input%20data%20can%20be%20consistently%20entered%3C%2FP%3E%3CP%3E%3CU%3E%3CEM%3E%3CSTRONG%3ETHEN%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FU%3E%20start%20looking%20at%20methods%20to%20produce%20the%20reports.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450157%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450157%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BThank%20you%20for%20all%20your%20patience%20and%20willingness%20to%20help%20me%20in%20this%20matter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20thorough%20process%20of%20deciding%20on%20what%20to%20include%20in%20the%20plan%2Breport%20template%20is%20a%20preset%20taken%20from%20the%20methodology%20of%20these%20projects.%20As%20for%20the%20combination%20of%20random%20and%20preset%20or%20numerical%20information%2C%20I%20tried%20to%20examplify%20this%20in%20the%20excel%20file%2C%20but%20let%20me%20try%20to%20state%20it%20in%20a%20different%20matter%20using%20the%20tables%20below%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EProject%20Plan%20(sheet%201)%3C%2FSTRONG%3E%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EProject%20activity%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CU%3EActivity%20date%3C%2FU%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EOther%20information%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EOther%20information%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EOther%20information%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EProject%20Report%20(sheet%202%2C%20exported%20from%20sheet%201)%3C%2FSTRONG%3E%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EProject%20activity%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CU%3EActivity%20date%20selection%3C%2FU%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CU%3EStatus%3C%2FU%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EOther%20information%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CU%3E%3CFONT%20color%3D%22%23000000%22%3EOther%20information%3C%2FFONT%3E%3C%2FU%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3EFill%20inn%20status%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3EFill%20inn%20status%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%3EDate%20intervall%3C%2FEM%3E%3C%2FFONT%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3EFill%20inn%20status%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220%25%22%20height%3D%2230px%22%3E%3CEM%3ERandom%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20report%20the%20only%20new%20information%20is%20the%20status%20field%20-%20Everything%20else%20from%20the%20plan%20is%20exported%20(although%20some%20coloumns%20are%20hidden).%20To%20filter%20only%20for%20activities%20to%20be%20focused%20on%20in%20a%20given%20week%20we%20want%20users%20to%20be%20able%20to%20easily%20filter%20activities%20(excel%20rows)%20based%20on%20weeks.%3C%2FP%3E%3CP%3EThe%20problem%20arrise%20when%20using%20the%20built%20in%20filter%20option%20it%20will%20only%20draw%20information%20from%20what%20is%3C%2FP%3E%3CP%3Ea)%20already%20typed%20into%20the%20cells%20in%20the%20coloumn%2C%20and%20not%20predetermined%20intervalls%20or%26nbsp%3B%3C%2FP%3E%3CP%3Eb)%20when%20using%20intervalls%20(like%20a%20week%20number)%20only%20options%20that%20only%20coincides%20with%20the%20chosen%20week%2C%20not%20those%20that%20span%20across%20that%20week%20-%20and%20others%20at%20the%20same%20time%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20solution%20solved%20the%20filter%20issue%2C%20but%20I%20wasn't%20able%20to%20use%20it%20since%20the%20name%20(randomly%20given%20activity%20names)%20also%20needed%20to%20be%20predetermined%20in%20the%20same%20formula.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20expect%20you%20to%20use%20more%20time%20one%20this%20for%20now%2C%20you%20have%20been%20more%20than%20generous%20with%20your%20time.%20Thank%20you%20for%20all%20your%20help.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%2C%26nbsp%3B%3CBR%20%2F%3EMagne%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450820%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450820%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20a%20sheer%20design%20point%20of%20view%2C%20I%20would%20still%20recommend%20changing%20that%20column%20(mis-)labeled%20%22Activity%20Date%22%20into%20two%20(or%20even%2C%20depending%20on%20how%20you're%20going%20to%20use%20it%2C%20four)%20columns.%20It%20actually%20is%20not%20a%20%22Date%22%20(singular)%2C%20but%20contains%20%22Dates%22%20(plural)%2C%20being%20a%20span%20from%20start%20to%20finish%2C%20or%20expected%20finish%2C%20dates.%20That%20means%20it%20is%20a%20text%20field%20in%20Excel%2C%20which%20means%20that%20to%20use%20it%20as%20the%20basis%20for%20filtering%20you%20need%20to%20use%20elaborate%20formulas%20to%20break%20it%20into%20dates%20(entirely%20possible%2C%20but%20why%20make%20it%20difficult%3F!).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20a%20minimum%20of%20two%20columns%2C%20%22Start%20Date%22%20and%20%22End%20Date%22%20and%20use%20the%20FILTER%20function%20formula%20I%20showed%20you%20based%20on%20that.%20If%20it%20really%20is%20WEEKs%20you%20want%20to%20show%2C%20then%20I'd%20add%20hidden%20%22helper%22%20columns%20that%20convert%20the%20%22Start%20Date%22%20to%20a%20%22Start%20WEEKNUM%22%20and%20%22End%20Date%22%20to%20%22End%20WEEKNUM%22%20and%20use%20the%20filter%20as%20I'd%20shown%20you....%20Again%2C%20those%20can%20be%20hidden.%20And%20if%20you%20want%20to%20have%20the%20report%20show%20a%20Date%20Interval%20in%20a%20single%20text%20field%2C%20you%20can%20do%20that%20by%20converting%20the%20dates%20to%20text%20and%20then%20concatenating%20them....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20probably%20also%20have%20the%20%22Status%22%20data%20filled%20in%20on%20the%20Project%20Plan%20sheet%20if%20it%20were%20my%20design.%20But%20I%20don't%20understand%20your%20work%20situation....%20I'm%20viewing%20a%20Report%20as%20simply%20that%2C%20a%20Report%2C%20an%20output.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450947%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450947%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3Bthank%20you%20-%20Yes%2C%20there%20is%20no%20need%20to%20make%20it%20difficult%2C%20two%20columns%3B%20start%20%2B%20end%20date%20would%20work%20fine.%20The%20filter%20function%20need%20to%20apply%20weeks%2C%20because%20the%20method%20envision%20weekly%20reports.%20The%20filtering%20is%20as%20such%2C%20just%20there%20to%20force%20them%20to%20only%20report%20on%20issues%20tied%20to%20a%20spesific%20week%2C%20and%20not%20everything%20else%20in%20the%20plan.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20could%20just%20add%20a%20column%20%22status%20report%22%20in%20the%20project%20plan%20and%20work%20in%20the%20same%20sheet%2C%20but%20the%20plan%20is%20made%20at%20one%20stage%20and%20the%20reporting%20in%20a%20later%2C%20and%20there%20is%20a%20cut%20of%20date.%20We%20could%20just%20make%20a%20copy%20of%20sheet%201%20at%20the%20cut%20of%20date%2C%20but%20this%20is%20expecting%20to%20much%20of%20the%20project%20managers.%20So%20the%20template%20need%20to%20automate%20that%20process%20and%20hide%20the%20%22only%20project%20plan%20relevant%22%20information%20in%20the%20report%20sheet%20-%20and%20filter%20project%20activites%20relevant%20for%20a%20spesific%20week.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20it%20be%20able%20to%20expand%20your%20formula%20to%20include%20export%20of%20the%20whole%20row%20in%20sheet%201%20being%20active%20in%20the%20relevant%20week%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1451101%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1451101%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20FILTER%20function%20is%20indeed%20expandable%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3DFILTER(Table1%5B%3CFONT%20color%3D%22%23FF0000%22%3E%5BProj%20Name%5D%3A%5BRandom3%5D%3C%2FFONT%3E%5D%2C(Table1%5BStartWeek%5D%26lt%3B%3DRequestedWk)*(Table1%5BLastWeek%5D%26gt%3B%3DRequestedWk))%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EGets%20the%20larger%20table%20view%20(as%20you%20can%20see%20in%20the%20attached).%20The%20key%20is%20in%20the%20red%2C%20where%20it%20now%20displays%20the%20starting%20column%20and%20the%20finishing.%3C%2FP%3E%3CP%3EIt%20could%20also%20be%20sorted%2C%20if%20that%20were%20important.%20Just%20nest%20the%20FILTER%20formula%20within%20a%20SORT%20and%20specify%20the%20column%20on%20which%20the%20sort%20is%20to%20be%20based.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1452850%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1452850%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1435956%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435956%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BI%20can%20try%20to%20make%20a%20mock%20workbook%20to%20illustrate%20my%20problem%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440511%22%20slang%3D%22en-US%22%3ERe%3A%20Filter%20-%20Drop%20down%20menu%20to%20show%20rows%20with%20cells%20with%20one%20or%20more%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440511%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686578%22%20target%3D%22_blank%22%3E%40mhar985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOh%2C%20my.%20I%20still%20can't%20sort%20through%20all%20that%2C%20especially%20not%20without%20seeing%20the%20external%20files%20to%20which%20it%20refers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20said%2C%20and%20without%20fully%20appreciating%20the%20complexities%20of%20what%20you're%20asking%2C%20I%20wonder%20if%20there%20isn't%20a%20way%20to%20simplify%20this--which%20is%20one%20of%20your%20apparent%20objectives%2C%20to%20make%20it%20intelligible%20for%20the%20users--by%20referring%20to%20single%20dates%2C%20or%20week%20numbers%2C%20rather%20than%20via%20references%20like%20%2215.06.2020-21.06.2020%22%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20is%2C%20use%20the%20WEEKNUM%20function%20connected%20with%20either%20the%20start%20of%20the%20week%20or%20the%20end%20of%20the%20week%20as%20the%20basis%20for%20what%20you%20pull%20from%20the%20source%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3E%5BI%20have%20another%20app%20where%20I%20helped%20somebody%20here%20through%20the%20%3CSTRONG%3Etechcommunity%3C%2FSTRONG%3E%20develop%20weekly%20status%20reports%2C%20and%20I%20did%20in%20in%20a%20way%20that%20allowed%20him%20to%20simply%20enter%20the%20date%20of%20Sunday%20at%20the%20start%20of%20any%20given%20week%2C%20that%20got%20converted%20by%20%3CSTRONG%3EWEEKNUM%3C%2FSTRONG%3E%20which%20was%20then%20used%20to%20extract%20data%20from%20the%20source%20database.%20Now%2C%20we%20also%20added%20a%20formula%20in%20the%20source%20database%20that%20automatically%20generated%20the%20weeknumber%20in%20each%20row%20based%20on%20other%20data%3B%20i.e.%2C%20no%20extra%20work%20for%20anybody%20once%20designed.%20So%20I%20don't%20know%20if%20something%20like%20that%20would%20help%20here.%5D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I've made a template for a project plan (sheet 1) and exported the information to a project report (sheet 2). 

 

In the project report I want to be able to filter project activities pertaining to a spesific week, but as activities can span across several weeks, I've made a macro in the project plan that let me choose several weeks from a list and insert it into the same cell. 

 

When I try to filter by week in the report it is limited to picking activities that are exclusively pertaining to this, last, or next week, not activities that span across this and next week. It can be customised in the date intervall in the filter drop down menu, but this will be to complicated for the users.. 

 

Is there a way around this? I tried to remove the macro and insert the date (dd.mm.yyyy - dd.mm.yyyy), manually in the plan, but the same problem appears when filtering in the report

16 Replies
Highlighted

@mhar985 

 

I appreciate the precision you're seeking to employ in describing your situation. It's nevertheless difficult to actually picture exactly what you're up against based solely on the words. And although the cliche is that a picture is worth a thousand words, even if you were to post an image of your files, that wouldn't help much.

 

Is it possible for you to post a copy of the actual workbook (devoid of any personal or confidential info) so that we here in techcommunity can experience it first hand, and maybe offer the solution you're looking for?

Highlighted

@mathetes I can try to make a mock workbook to illustrate my problem 

Highlighted
Highlighted

@mhar985 

 

Oh, my. I still can't sort through all that, especially not without seeing the external files to which it refers.

 

That said, and without fully appreciating the complexities of what you're asking, I wonder if there isn't a way to simplify this--which is one of your apparent objectives, to make it intelligible for the users--by referring to single dates, or week numbers, rather than via references like "15.06.2020-21.06.2020" 

 

That is, use the WEEKNUM function connected with either the start of the week or the end of the week as the basis for what you pull from the source data.

 

[I have another app where I helped somebody here through the techcommunity develop weekly status reports, and I did in in a way that allowed him to simply enter the date of Sunday at the start of any given week, that got converted by WEEKNUM which was then used to extract data from the source database. Now, we also added a formula in the source database that automatically generated the weeknumber in each row based on other data; i.e., no extra work for anybody once designed. So I don't know if something like that would help here.]

 

 

Highlighted

@mathetes 

 

Thank you for your reply. I have considered using the WEEKNUM function, but it still doesnt solve the problem of an activity spanning across several weeks - And I am in need of a filtering function that shows all activities within a given week or time span, not exclusively those that only are active in week 1, 2 or 3 - Because activities will be active during several weeks..  

Highlighted

@mhar985 

 

I still think WEEKNUM could work for you. Your rows could show a week number value for the first week, the last (and the latter could increase as the project continues).

 

Filter based on being greater than or equal to the first week, less than or equal to the last.

 

The FILTER function could do that.

 

Or am I missing something?

Highlighted

Hmm.. I feel a bit stupid for not seeing how it could work. I think I get the formatting bit, I see how I can retrieve the necessary information, but the template need to work for several different projects with different start/end dates + Be simple enough for the users to just choose from a drop down menu or enter a spesific week or time period in a cell without having to customise the filter settings manually every time.. 

 

Would you be able to insert the solution in the excel example sheet I shared in order for me to see if I am missing something? 

 

Thank you for your patience and understanding  

Highlighted

@mhar985 

 

THere's a simple example here in this revised (w/o VBA) version of your spreadsheet. Just to illustrate how FILTER could do it. I created a small table that contains start and end weeks and a project name. Then the following filter function will list projects (and any other data you choose to add) that meet the single week.

=FILTER(Table1[Proj Name],(Table1[StartWeek]<=RequestedWk)*(Table1[LastWeek]>=RequestedWk))

 

Hi @mathetes , 

 

At first look this seems to do exactly what I would want it to do. But will it work in a template where activities do not have predetermined names or dates, but will be randomly inserted in the plan as the project manager goes along? 

 

In other words, will the project manager be able to expand the number of activities and dates in sheet 1 (project plan) and filter his results by a week to week basis in the project report (sheet 2)?

 

As you understand whether the cells containing dates in sheet 1 (the plan) accomodates more predetermined dates into one cell (VBA), or is a freely inserted by the project manager, is not that important. This was done originally because I thought the filtering in sheet 2 (the report) would be easier this way. 

Highlighted
Expanding on this: Project activities could be "remember to give Lise the keys". Then the whole row containing this activity needs to be exported to the plan
Highlighted

@mhar985 

 

I will confess to having a difficult time picturing what you're describing. That said, I am assuming (as is Excel) that you (and your users) are using the Excel Table format to represent a coherent and well-designed database.

 

This pretty much precludes random entries (which is what "remember to give Lise the keys" sounds like); i.e., I wouldn't  think you want this Excel workbook used as the daily "To-Do" list.

 

Not that it's impossible to use it as a To-Do list. It is entirely possible.

 

But this very conversation is telling me that what you (and your users) need to do first is sit down and give thought to what you're designing. Don't make the mistake (or let them make the mistake) of using Excel as a semi-automated piece of paper, a piece of paper that happens to come with rows and columns and even the ability to do some magic with filtering and adding and multiplying and extrapolating.... [and believe me, there's plenty of precedent for bringing that mindset to Excel]

 

Or, at the very least, it's what I would insist on doing before going any further. You've got the tools to do the filtering you were asking about; they may take some tinkering to use dates rather than week numbers, and so forth....but seriously, sit down and assemble a set of descriptions of

  • INPUT: data that is needed in the course of the project management
  • OUTPUT: reports/summaries that are needed

 

Then refine how the INPUT in particular should be entered; what's truly needed for project management, what really is trivial and could be done via some other app (or piece of paper), how that input data can be consistently entered

THEN start looking at methods to produce the reports.

Highlighted

@mathetes Thank you for all your patience and willingness to help me in this matter.

 

The thorough process of deciding on what to include in the plan+report template is a preset taken from the methodology of these projects. As for the combination of random and preset or numerical information, I tried to examplify this in the excel file, but let me try to state it in a different matter using the tables below: 

Project Plan (sheet 1)

Project activityActivity dateOther informationOther informationOther information
RandomDate intervallRandomRandomRandom
RandomDate intervallRandomRandomRandom
RandomDate intervallRandomRandomRandom

 

Project Report (sheet 2, exported from sheet 1)

Project activityActivity date selectionStatusOther informationOther information
RandomDate intervallFill inn statusRandomRandom
RandomDate intervallFill inn statusRandomRandom
RandomDate intervallFill inn statusRandomRandom

 

In the report the only new information is the status field - Everything else from the plan is exported (although some coloumns are hidden). To filter only for activities to be focused on in a given week we want users to be able to easily filter activities (excel rows) based on weeks.

The problem arrise when using the built in filter option it will only draw information from what is

a) already typed into the cells in the coloumn, and not predetermined intervalls or 

b) when using intervalls (like a week number) only options that only coincides with the chosen week, not those that span across that week - and others at the same time

 

Your solution solved the filter issue, but I wasn't able to use it since the name (randomly given activity names) also needed to be predetermined in the same formula. 

 

I don't expect you to use more time one this for now, you have been more than generous with your time. Thank you for all your help. 

 

Best, 
Magne 

Highlighted

@mhar985 

 

From a sheer design point of view, I would still recommend changing that column (mis-)labeled "Activity Date" into two (or even, depending on how you're going to use it, four) columns. It actually is not a "Date" (singular), but contains "Dates" (plural), being a span from start to finish, or expected finish, dates. That means it is a text field in Excel, which means that to use it as the basis for filtering you need to use elaborate formulas to break it into dates (entirely possible, but why make it difficult?!).

 

Have a minimum of two columns, "Start Date" and "End Date" and use the FILTER function formula I showed you based on that. If it really is WEEKs you want to show, then I'd add hidden "helper" columns that convert the "Start Date" to a "Start WEEKNUM" and "End Date" to "End WEEKNUM" and use the filter as I'd shown you.... Again, those can be hidden. And if you want to have the report show a Date Interval in a single text field, you can do that by converting the dates to text and then concatenating them....

 

I would probably also have the "Status" data filled in on the Project Plan sheet if it were my design. But I don't understand your work situation.... I'm viewing a Report as simply that, a Report, an output.

Highlighted

@mathetes thank you - Yes, there is no need to make it difficult, two columns; start + end date would work fine. The filter function need to apply weeks, because the method envision weekly reports. The filtering is as such, just there to force them to only report on issues tied to a spesific week, and not everything else in the plan. 

 

We could just add a column "status report" in the project plan and work in the same sheet, but the plan is made at one stage and the reporting in a later, and there is a cut of date. We could just make a copy of sheet 1 at the cut of date, but this is expecting to much of the project managers. So the template need to automate that process and hide the "only project plan relevant" information in the report sheet - and filter project activites relevant for a spesific week. 

 

Would it be able to expand your formula to include export of the whole row in sheet 1 being active in the relevant week?  

Highlighted
Best Response confirmed by mhar985 (Occasional Contributor)
Solution

@mhar985 

 

The FILTER function is indeed expandable:

=FILTER(Table1[[Proj Name]:[Random3]],(Table1[StartWeek]<=RequestedWk)*(Table1[LastWeek]>=RequestedWk))

Gets the larger table view (as you can see in the attached). The key is in the red, where it now displays the starting column and the finishing.

It could also be sorted, if that were important. Just nest the FILTER formula within a SORT and specify the column on which the sort is to be based.

Highlighted